Permalink
Browse files

Block script execution inside upload folders

  • Loading branch information...
jmontoyaa committed Feb 15, 2017
1 parent 4387516 commit 337c3e6d254a2eae161f6e1405b8ab2fc01ef35f
Showing with 6 additions and 0 deletions.
  1. +3 −0 app/home/.htaccess
  2. +3 −0 app/upload/.htaccess
@@ -0,0 +1,3 @@
<FilesMatch "(?i)\.(php5|php4|php|php3|php2|phtml|pl|py|jsp|asp|sh|cgi)$">
deny from all
</FilesMatch>
@@ -0,0 +1,3 @@
<FilesMatch "(?i)\.(php5|php4|php|php3|php2|phtml|pl|py|jsp|asp|sh|cgi)$">
deny from all
</FilesMatch>

0 comments on commit 337c3e6

Please sign in to comment.