I wan to restrict access to a folder with php and inc.php files inside. The folder is called scripts and i want it so you can only include the files.
I dont want to do this using a password, all i want is it done by a 403, eg forbidden.
I can restrict access to certain files like inc.php by using this code.
<Files ~ ".inc.php$">
Order allow,deny
Deny from all
Satisfy All
</Files>
Thanks for your help