How to protect your .htaccess file?

March 26, 2016     0 comments

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

How helpful was this article to you?