How to Protect Your .htaccess File

How to Protect Your .htaccess File

By: ZebraHost

For security purposes, we recommend you prevent access to your .htaccess file from unauthorized access.

To do that, add this code to your .htaccess file:

# .htaccess protection

order allow,deny

deny from all

satisfy all