• F.A.Q
  • Domains
  • International Callers: 1-847-705-5005
Have Questions? Toll Free:
  • Support
  • 1-866-932-9323
  • Home
  • Web Hosting
    • Web Hosting
    • Semi-Dedicated Hosting
  • Reseller Hosting
  • Servers
    • Semi-Dedicated Hosting
    • Bare Metal Servers
    • Server Administration
  • About Us
  • Contact Us
  • Affiliates
  • Client Login
  1. Portal Home
  2. Knowledgebase
  3. Security
  4. How to protect your .htaccess file?
  • Home
  • Store
    • Browse All
    • Web Hosting
    • Semi-Dedicated Hosting
    • Reseller Hosting
    • Server Administration
    • SSL Certificates
    • Website Builder
    • Website Backup
    • VPN
    • E-mail Services
    • Website Security
    • Professional Email
    • SEO Tools
    • Register a New Domain
    • Transfer Domains to Us
  • Announcements
  • Knowledgebase
  • Network Status
  • Affiliates
  • Contact Us
  • More
  • Account
    • Login
    • Register
    • Forgot Password?
  • 0 Shopping Cart

  Categories

Add on Domains
2
Affiliate Program
1
Backup/Restore
4
Billing
11
CloudFlare
3
cPanel - Control Panel
12
cPanel Features
1
Databases
5
DNS - Nameserver
6
Domain Management
10
Domain Registrations and Transfers
12
Email
5
Free Downloads
2
FTP
4
General Help Topics
8
Inodes
2
Mac Users Instructions
5
Mail Filters & SPAM
8
Others
3
PHP Selector Choose PHP 5.4, 5.5, 5.6 or 7.
1
Resellers
1
Security
7
Server Uptime Stats
1
Softaculous
32
Tutorials
30

  Categories

  Support

My Support Tickets
Announcements
Knowledgebase
Downloads
Network Status
Open Ticket

How to protect your .htaccess file? Print

  • 0

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

  Support

My Support Tickets
Announcements
Knowledgebase
Downloads
Network Status
Open Ticket

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
WebzPro
  • Home
  • Affilates
  • About Us
  • Contact Us
Help Desk
  • Submit Ticket
  • Server Status
  • Knowledge Base
  • Domain Registration
  • Client Portal
Legal
  • Terms of Service
  • Privacy Policy
  • Acceptable Use Policy
  • Domain Registrant Agreement
Social Media:
Copyright 2018 - WebzPro - All Rights Reserved
We Accept:
-->