How to protect your .htaccess file?

2016-09-19T10:45:22
Sreenivasa Reddy G
1 min read

How to protect your .htaccess file?

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

Tags
cPanelWHM

Need Expert Help?

Our team of cloud and IT experts is ready to help you solve your toughest challenges.