Making files only executable locally

Add the following to your .htaccess file to prevent files from being accessible from external sites:


Order deny,allow
Deny from all
Allow from localhost 127.0.0.0/8 ::1 externalIP/32

About vicki

Welcome to the Sovereign Republic of Vickistan. I am the President here. Lucky me! No taxes or laws yet. Lucky you!
This entry was posted in Linux. Bookmark the permalink.