Close Customer Care
Leave Customer Care Center

Knowledgebase

  • Customer Care
  • Store
    • Browse All
    • Premium Hosting
    • e-Commerce Hosting
    • Cloud Servers / VPS
    • Marketing Products
    • SSL Certificates
    • Low Cost SSL Certificates
    • Affordable SSL Certificates
    • EV SSL Certificates
    • SSL Wildcard Certificates
    • Multi-Domain SSL Certificates
    • Bare Metal Servers
    • Professional Email
    • VPN
    • Website Security
    • Register a New Domain
    • Transfer Domains to Us
  • Announcements
  • Knowledgebase
  • Network Status
  • Affiliates
  • Contact Us
  • More
  • Account
    • Login
    • Forgot Password?

  Categories

.htaccess Tips & Tricks
6
Backup/Restore
4
cPanel - Control Panel
13
Databases
12
DNS - Nameserver
6
Domain Management
10
E-Mail setup and configuration
11
Error Documents
6
FTP File Transfer Protocol
4
Mail Filters & SPAM
8
Mobile
11
Others
3
PCI Compliance
1
PHP Help/How-Tos
0
Ruby on Rails
1
Security
10
Wordpress
11

  Categories

  Tag Cloud

cpanel email remote mail

  Support

My Support Tickets
Announcements
Knowledgebase
Downloads
Network Status
Open Ticket

How to disable directory browsing using .htaccess? Print

  • 0

For security purposes, we recommend that you to disable directory browsing on your website so no one can see the files/folders of your website.
You can disable Directory Browsing by adding this line to your .htaccess file.

Options -Indexes


Was this answer helpful?

Related Articles

Can not connect to server You may experience a connection block to our servers for the following reasons:A. You have tried... How to protect a folder with username and password in cPanel? You can lock a directory with 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 cPanel "Password Protected Directories" option.1.... 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 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...
« Back

  Tag Cloud

cpanel email remote mail

  Support

My Support Tickets
Announcements
Knowledgebase
Downloads
Network Status
Open Ticket

Loading...
Loading...

Generate Password

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