How to protect your .htaccess file?

Security Security Write a comment

For security purposes, we recommend 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

 

Write comments...
or post as a guest
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.