How to protect your htaccess file?

DateMay 26, 2021

We recommend you to protect your .htaccess file from unauthorized access.

You can do this by denying access to anyone that tries to access it.

Only thing you need to do is add this code to your .htaccess file:

# .htaccess protection

order allow, deny
deny from all
satisfy all

Visit our blog for more knowledgebase articles !

The post How to protect your htaccess file? appeared first on HostingB2B.

© 2024 All Rights Reserved. HostingB2B