1
Hi, I would like to limit in my site the ability for the server to execute php scripts in a specific directory.
Im wondering if there is any side effects for using this in a .htaccess file:
<Files ~ ".(php|phtml|php3|php4|php5|shtml|inc)$">
Order deny, allow
Deny from all
Files>
shouldnt this stop any script from executing that is in this directory?
for example, /uploads.... if this were put into that dir in .htaccess, then even if an uploaded script made it into this directory, would this not stop any executing php in /uploads?
Thanks,