Tuesday, September 29, 2020

Larave .htaccess sucrity code

 #disable directory browsing

Options -Indexes

#PROTECT ENV FILE
<Files .env>
order allow,deny
Deny from all
</Files>

#PROTECT ENV FILE
<Files .htaccess>
order allow,deny
Deny from all
</Files>

No comments:

Post a Comment