WireNine.com
  • 0 Shopping Cart
  • Home
  • Store
    • Browse All
    • Managed Hosting
    • SSD Web Hosting
    • SSL Certificates
    • Register a New Domain
    • Transfer Domains to Us
  • Announcements
  • Knowledgebase
  • Network Status
  • Affiliates
  • Contact Us
  • More
  • Account
    • Login
    • Forgot Password?
  1. Portal Home
  2. Knowledgebase
  3. Security
  4. How to protect your .htaccess file?

  Categories

Account and Billing
24
cPanel - Control Panel
50
Domains and DNS
33
Email
49
Presales
32
Reseller Hosting
8
Security
10
Softaculous
61
Technical
35
VPS Hosting
28
WHM
3
WHMCS
1
Wordpress
24

  Categories

  Tag Cloud

wordpress security ssl email tls updates cache performance speed memory_limit php settings cpanel memory cpu plugins domains epp code ftp filezilla acronis backups howto

  Support

My Support Tickets
Announcements
Knowledgebase
Downloads
Network Status
Open Ticket

How to protect your .htaccess file? Print

  • 15

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

Was this answer helpful?

Related Articles

How to protect your website's images from an external website? External Website can use < img /> tag to display an image from your site somewhere else on... 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... How to blacklist an IP Address to deny it access to your website? You can lock directory with a password by using cPanel "Password Protected Directories" option.1....
« Back

Powered by WHMCompleteSolution

  Tag Cloud

wordpress security ssl email tls updates cache performance speed memory_limit php settings cpanel memory cpu plugins domains epp code ftp filezilla acronis backups howto

  Support

My Support Tickets
Announcements
Knowledgebase
Downloads
Network Status
Open Ticket
  • Contact Us
  • Terms of Service

Copyright © 2025 WireNine.com. All Rights Reserved.


Loading...
Loading...
Choose language
العربية
Azerbaijani
Català
中文
Hrvatski
Čeština
Dansk
Nederlands
English
Estonian
Persian
Français
Deutsch
עברית
Magyar
Italiano
Macedonian
Norwegian
Português
Português
Română
Русский
Español
Svenska
Türkçe
Українська

Generate Password

Please enter a number between 8 and 64 for the password length