Add this .htaccess file to your includes of the views folder of your PHP project to Protect include files. This file prevents that your .PHP view files are accessed directly from the outside
CODE
<Files ~ "\.(htaccess|php)$">
order allow,deny
deny from all
</Files>
No comments:
Post a Comment