Categories
Backup/Restore
4
Billing & Accounts
7
cPanel - Control Panel
77
Databases
22
DNS - Nameserver
6
Domain Management
14
Email
100
FTP Questions
42
Installing a Control Panel
6
Others
3
Pre-sales Questions
9
Scripts & Applications
106
Security
18
SiteWorx (Control Panel)
60
SolusVM
19
SSL
5
Troubleshooting
4
Categories
Tag Cloud
How to protect your .htaccess file? Print
- 0
Add this code to your .htaccess file:
# .htaccess protection
order allow,deny
deny from all
satisfy all
Was this answer helpful?
Related Articles
How to disable directory browsing using .htaccess?
For security purposes, we recommend that you to disable directory browsing on your website so no...
How to restrict directory access by IP address?
In order to secure your admin area from hackers, we recommended you to allow access only from...
How to ban any IP Address via .htaccess?
If someone is trying to hack your website or you want to block their IP Address, you can add this...