Adding .htaccess files to prohibit access to critical directories, e.g., db/

This commit is contained in:
Florian Lauck 2014-02-09 23:17:10 +01:00
parent 38dafee05d
commit 3a68883ae9
5 changed files with 9 additions and 0 deletions

1
cache/.gitignore vendored
View File

@ -0,0 +1 @@
!.htaccess

2
cache/.htaccess vendored Normal file
View File

@ -0,0 +1,2 @@
Order deny,allow
Deny from all

2
db/.htaccess Normal file
View File

@ -0,0 +1,2 @@
Order deny,allow
Deny from all

2
inc/.htaccess Normal file
View File

@ -0,0 +1,2 @@
Order deny,allow
Deny from all

2
locale/.htaccess Normal file
View File

@ -0,0 +1,2 @@
Order deny,allow
Deny from all