Open Ticket Announcements Contact Us
Login Register
Avalon Hosting Services
  • 0 Shopping Cart
  • Dashboard
  • Store
    • Browse All
    • Dynamic D Individual (Gen 1)
    • Dynamic D Individual (Gen 2)
    • Dynamic D Individual (Gen 4)
    • Dynamic D Business (Gen 1)
    • Dynamic D Business (Gen 2)
    • Dynamic D Business (Gen 4)
    • WHOIS Lookup
    • Wordpress Hosting
    • Woocommerce Hosting
    • Dedicated Server
    • SSL Certificates
    • SiteLock
    • CodeGuard
    • Avalon Software
    • Google Workspace
    • Virtual Private Server (VPS)
    • Virtual Dedicated Server (VDS)
    • Titan Email
    • SSL Certificates
    • Website Security
    • Website Backup
    • E-mail Services
    • Professional Email
    • Site & Server Monitoring
    • VPN
    • SocialBee
    • Register a New Domain
    • Transfer Domains to Us
  • Announcements
  • Knowledgebase
  • Service Status
  • Affiliates
  • Contact Us
  • More
  • Account
    • Login
    • Register
    • Forgot Password?
  1. Portal Home
  2. Knowledgebase
  3. SiteWorx (Control Panel)
  4. Security
  5. How to protect your .htaccess file?

  Categories

Backup/Restore
4
Client Area
1
Cloudflare (cPanel)
9
CloudLinux (cPanel)
10
cPanel
4
cPanel - Control Panel
24
Databases
11
DirectAdmin
48
DNS - Nameservers
6
Domain Management
10
Email
17
FTP
9
Installing a Control Panel
6
Mail Filters & SPAM
8
Mobile
11
Others
3
PayPal
7
Plesk
47
Security
10
SiteWorx (Control Panel)
61
Softaculous
76
SolusVM
18
SSL
5
Virtualizor
19
WHM
18
WordPress
17

  Categories

  Tag Cloud

Avalon cPanel how to Step by Step guideline

  Support

My Support Tickets
Announcements
Knowledgebase
Downloads
Network Status
Open Ticket

How to protect your .htaccess file? Print

  • 0

For security purposes, we recommend 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 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 disable directory browsing using .htaccess? For security purposes, we recommend that you disable directory browsing on your website so no one... How to restrict directory access by IP address? To secure your admin area from hackers, we recommend that you allow access only from a selected...
« Back

  Tag Cloud

Avalon cPanel how to Step by Step guideline

  Support

My Support Tickets
Announcements
Knowledgebase
Downloads
Network Status
Open Ticket
Avalon Hosting Services

Enterprise-grade hosting services built for reliability, security, and predictable growth.

System Status: All primary services operational

Trusted payment methods and verified global infrastructure partners.

Get Avalon Hosting Services App on Google Play

Services

  • Contact Us
  • Announcements
  • Knowledgebase
  • Network Status
  • Client Area
  • Open Ticket
  • Shopping Cart
  • Terms of Service

Hosting

  • VPS hosting
  • Dynamic D hosting
  • VDS hosting
  • Dedicated servers
  • WordPress hosting
  • eCommerce hosting

Business Services

  • SSL certificates
  • Security and privacy
  • NordVPN privacy
  • Business email
  • Migration services
  • Monitoring and uptime

Legal

  • Terms of Service
  • Privacy Policy
  • Cookie Policy
  • Refund Policy
  • Disclaimer

Partners

  • Affiliates
  • Reseller hosting
  • Domain reseller
VISA AMEX PayPal ₿
Copyright © 2007 - 2026 Avalon Hosting Services. All Rights Reserved. Security-first infrastructure with round-the-clock support.

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
Українська

Choose Currency

$ USD
₹ INR
‎৳ BDT
£ GBP
€ EUR
$ AUD
AED AED
¥ JPY
$ CAD
$ SGD
₽ RUB
¥ CNY

Generate Password

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