RPM WEB SERVICES
  • 0 Shopping Cart
  • Home
  • Store
    • Browse All
    • RPMWS Shared Hosting Plans
    • Domains
    • Website Builder
    • E-mail Services
    • Website Backup
    • VPN
    • Register a New Domain
    • Transfer Domains to Us
  • Announcements
  • Knowledgebase
  • Network Status
  • Contact Us
  • More
  • Account
    • Login
    • Register
    • Forgot Password?
  1. Portal Home
  2. Knowledgebase
  3. Security
  4. How to protect your .htaccess file?

  Categories

1
1 - NEW CLIENTS READ THIS
4
Backup/Restore
9
Cloudflare (cPanel)
24
cPanel - Control Panel
11
Databases
6
DNS - Nameservers
10
Domain Management
17
Email
9
FTP
8
Mail Filters & SPAM
11
Mobile
3
Others
7
PayPal
10
Security
5
SSL
18
WHM
17
WordPress

  Categories

  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... How to protect a folder with username and password in cPanel? You can lock a directory with a password by using the cPanel Password Protected Directories... How to blacklist an IP Address to deny it access to your website? You can lock directory with a password by using the cPanel Password Protected Directories...
« Back

  Support

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

Copyright © 2023 RPM WEB SERVICES. All Rights Reserved.


Loading...
Loading...

Generate Password

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