Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ENHANCEMENT: Introduced .htaccess file for added security

  • Loading branch information...
commit 414772326435de9a0b7a860076b758ba87370379 1 parent 43dc84d
Jeremy Shipman jedateach authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 .htaccess
9 .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>
Please sign in to comment.
Something went wrong with that request. Please try again.