ShakTechnology Pty Ltd
  • 0 Shopping Cart
  • Home
  • Store
    • Browse All
    • Bare-Bone Hosting
    • Starter Hosting
    • Business Hosting
    • Premium Hosting
    • Elite Hosting
    • 2 Page EasyWeb Solution
    • 4 Page EasyWeb Solution
    • 8 Page EasyWeb Solution
    • Web Design
    • Web Support
    • SSL Certificates
    • Website Security Updates
    • Website Care Packages
    • Setup Social Media Platform
    • Email Spam Filtering
    • Professional Email
    • Register a New Domain
    • Transfer Domains to Us
  • Announcements
  • Knowledgebase
  • Network Status
  • Contact Us
  • More
  • Account
    • Login
    • Forgot Password?
  1. Portal Home
  2. Knowledgebase
  3. Security
  4. How to disable directory browsing using .htaccess?

  Categories

4
Backup/Restore
14
Client Area
28
cPanel - Control Panel
14
Databases
11
Databases
54
Domains
53
Email
5
Files
22
FTP
4
Hosting Record How-to
0
Installing a Control Panel
8
Intro to Web Hosting
1
JEvents
18
Joomla
1
Logs
3
Others
13
phpMyAdmin
14
Security
60
SiteWorx (Control Panel)
15
Softaculous
60
Softaculous
0
SolusVM
1
SSL Certificates
0
Terms of Service
17
Transferring Your Domain
6
TroubleShooting
3
Using my Browser
1
Virtual Desktop Sharing
1
Web Hosting Glossary
1
WebMatix
1
Where do I go ?
23
Wordpress

  Categories

  Tag Cloud

Contacts cPanel firewall Gmail sub-accounts whm

  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

How to Password Protect a Directory This tutorial will teach how to password protect a directory. Password protecting a directory... How To Use The IP Deny Manager This tutorial will teach you how to use the IP Deny Manager to block access to your web site from... Using Hotlink Protection Hotlink Protection prevents other web sites from directly linking to certain files (typically... How to Unblock an IP address through the CSF Firewall in WHM CSF is installed on our servers, and at times your IP can become blocked as a result of hitting... 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...
« Back

  Tag Cloud

Contacts cPanel firewall Gmail sub-accounts whm

  Support

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

Copyright © 2026 ShakTechnology Pty Ltd. All Rights Reserved.


Loading...
Loading...

Generate Password

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