You can use the Index Manager to stop users from seeing all your files in a folder (if you don’t have some form of a readable index eg: .html, .php.). Without a readable index file, all your folder files are visible.
Use the Index Manager
- Go to cPanel and click Index Manager.
- Select Web Root or the domain name or subdomain you want to view. Click Go once selected. (Selecting Web Root will allow you to see all the publicly visible folders on your account.)
- Click on a folder icon to look inside. Click on a folder name to change it.
- To disable directory indexing, change the setting to “No Indexing”.
To enable directory indexing, change the setting to anything except “No Indexing”.