How to Protect Your htaccess File

You are here:
Estimated reading time: < 1 min

You can prevent unauthorized access to your htaccess file by adding this rule to the file:

# .htaccess protection

order allow, deny
deny from all
satisfy all

Was this article helpful?
Dislike 0
Views: 15