How to block access to a PHP script using .htaccess

remics

New Member
#1
I tried using the code below that I found on the internet, but it didn't work.

<Files base.php>
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Files>
 
Top