Permalink
Browse files

ENHANCEMENT: Introduced .htaccess file for added security

  • Loading branch information...
1 parent 43dc84d commit 414772326435de9a0b7a860076b758ba87370379 @jedateach jedateach committed May 20, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 .htaccess
View
@@ -0,0 +1,9 @@
+<FilesMatch "\.(php|php3|php4|php5|phtml|inc)$">
+ Deny from all
+</FilesMatch>
+<FilesMatch "(main|static-main|rpc)\.php$">
+ Allow from all
+</FilesMatch>
+<FilesMatch "silverstripe_version$">
+ Deny from all
+</FilesMatch>

0 comments on commit 4147723

Please sign in to comment.