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

  1. Go to cPanel and click Index Manager.
  2. 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.)
  3. Click on a folder icon to look inside. Click on a folder name to change it.
  4. To disable directory indexing, change the setting to “No Indexing”.
    To enable directory indexing, change the setting to anything except “No Indexing”.