Knowledgebase

How to protect your .htaccess file?

For security purpose we recommended you to prevent access to your .htaccess file from unauthorized access.
Add this code to your .htaccess file:

# .htaccess protection

order allow,deny
deny from all
satisfy all

 

  • website-security, security

Was this answer helpful?

0 Users Found This Useful