I have a folder with a lot of .php files. I would like to deny access to them (using .htaccess). I know an option is to move this folder outside
.php
.htaccess
Just add a .htaccess file with the code Deny from all to the folder.
Deny from all
More info at http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html