- After logging into the cPanel, click Index Manager under Advanced category.
- Choose the directory you want to start with, then click Go.
- 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 browser. 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.
- Let’s setup Index Manager for the ‘clients’ directory.
- There are 4 settings to choose from.
- Default System Setting: Allows the directory contents to be shown.
- No indexing: Does not allow directory contents to be shown.
- Standard indexing (Filename only): Prevents browsers from viewing the contents of directories that DO NOT contains IMAGE files.
- Fancy indexing (Filename and description): Prevent browsers from viewing the contents of directories that DO contain IMAGE files.
- Since we do not want the contents of this directory shown, choose No Indexing.
- Then click Save.
- You are done. The Index settings have been updated, and visitors can no longer view the contents of the client’s directory.
- Click Go Back. Now let’s change the setting back to default, thus allowing visitors to view the contents of this directory.
- 0 Kunder som kunne bruge dette svar