CpanelHosting.Africa
menu
Home
Order
Web Hosting
Domains
Support
arrow_drop_down
menu_book
Knowledge Base
support_agent
Support Center
email
Contact Us
dark_mode
Login
Register
home
Home
shopping_cart
Order
dns
Web Hosting
language
Domains
menu_book
Knowledge Base
login
Login
person_add
Register
dark_mode
Toggle dark mode
Home
Knowledge Base
Security
How to protect your .htaccess file?
How to protect your .htaccess file?
Updated 2 months ago
8795 views
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
Still need help?
If this article did not answer your question, our support team can help.
Contact support
Browse all articles
Category
Security
Related articles
How to ban any IP Address via .htaccess?
How to disable directory browsing using .htaccess?
How to restrict directory access by IP address?
NOTE: Many features on FOSSBilling require Javascript and cookies. You can enable both in your browser's preference settings.