How to use the Index Manager in cPanel

This demo assumes you've already logged in to cPanel

Now let's learn about the Index Manager

1) Click Index Manager

The Index Manager enables you to control how directories on your website are displayed.

If there is no index.html file in a given directory, the contents of that directory will be displayed in a browswer.  This is typically undesireable, and can cause security issues.

With Index Manager, you can set your account up to not allow your directory contents to be shown.

2) Navigate to the directory you want to setup Index Manager for

3) Let's setup Index Manager for the demo directory, by clicking the demo directory here

There are 4 settings to choose from:

Default System Setting - allows the directory contents to be shown

No Indexes - does not allow directory contents to be shown

Standard Indexing (text only) - Prevents browsers from viewing the contents of directories that do not contain image files

Fancying Indexing (graphics) - Prevents browsers from viewing the contents of directories that do contain images files

4) Let's choose the Standard Indexing (text only) option

5) Click Save

6) Click Go Back

That's it!  The Index settings have been updated, and visitors can no longer view the contents of the demo directory

Now let's change the setting back to default

7) Select Default System Setting

8) Then click Save

Success!  The Index Manager settings are now back to the way they were before this tutorial

This is the end of the tutorial.  You now know how to setup index directory protection with any of your directories.