Go to "Advanced→Indexes " to configure it

file

You can choose the default style, two types of indexing, or no indexing. To prevent users from seeing files in your directory, select the No indexing option.

Select the folder you want to protect by clicking its name.

file

Select one of the following options:

  • Default setting - cPanel uses the default value that your hosting provider determines.

  • No indexing - The server does not display the directory contents. Browsers will display a message that the content is not allowed.

  • Standard indexing - The server lists the directory contents as filenames only.

  • Fancy Indexing - The server lists file names and additional information, such as file size and last modification time.

file

Press "Save ".

Updated Aug. 1, 2018