What is the process for disabling directory listing in cPanel? Print

  • 0

To disable directory listing in cPanel, follow these steps:

  1. Log in to your cPanel account.
  2. In the "Files" section, click on the "Directory Privacy" icon.
  3. In the "Web Root" section, click on the "Go" button.
  4. In the list of directories, find the directory that you want to disable directory listing for, and click on the "Set Password" link.
  5. In the "Username" and "Password" fields, enter the username and password that you want to use to access the directory.
  6. Click on the "Save" button.

Once you have set a password for the directory, directory listing will be disabled for that directory. Directory listing is a security vulnerability that allows anyone to see the contents of your website's directories, so it is important to disable it to protect your site.


Was this answer helpful?

« Back