How To Disable Directory Browsing
To Disable Directory Browsing you use the Index Manager which allows you to customize the way a directory will be viewed on the web. You can select between a default style, no indexes, or two types of indexing. If you do not wish for people to be able to see the files in your directory, choose No Indexing.
1. Login to cPanel.
2. Navigate to the Advanced section and click on Indexes icon.
3. Please select the folder you wish to protect by clicking on its name.
If you wish to go to a directory that is located in one of the listed directories, click on the icon to navigate and when you get to your directory, click on the name as above.
4. Select No Indexing and save.