Skip to content

Commit

Permalink
block listing of several util directories; deny access to config.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Dolgov committed Apr 11, 2013
1 parent 70a1fb2 commit e1f76af
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/messages.mo
*~
*.DS_Store
#*
Expand Down
7 changes: 7 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
AddType image/svg+xml svg
AddType image/svg+xml svgz

<Files "config.php">
Order deny,allow
Deny from all
</Files>
2 changes: 2 additions & 0 deletions classes/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Order deny,allow
Deny from all
Empty file added js/index.html
Empty file.
Empty file added lib/index.html
Empty file.
2 changes: 2 additions & 0 deletions locale/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Order deny,allow
Deny from all
Empty file added plugins/index.html
Empty file.
2 changes: 2 additions & 0 deletions schema/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Order deny,allow
Deny from all
2 changes: 2 additions & 0 deletions templates/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Order deny,allow
Deny from all
2 changes: 2 additions & 0 deletions utils/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Order deny,allow
Deny from all

0 comments on commit e1f76af

Please sign in to comment.