| Web Hosting Tutorials Feel free to browse or contribute. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread |
|
|
#1 (permalink) |
|
URB4N 5K1LLZ
Super #1
Joined in Sep 2005
Lives in Orlando, FL
Hosted on SH63
2,660 posts
Gave thanks: 81
Thanked 128 times
|
[All] Indexing Manager
Have you ever gone to a newly created subdomain and noticed that you can see all the files within the directory because you don't have an index file?
![]() Well no worries, this tutorial will show you how you can "lock" prying eyes out from seeing what is within your index-less directories and possibly stealing/direct linking your files! Once logged into your cPanel, scroll down to the advanced category and click on the index manager icon. ![]() You will then be taken to a page with a list of all of the directories under your root. Click on the directory name that you wish to edit the indexing properties for. ![]() The next page to show up, you will have a few options to choose from. Default System Indexing - Will show all files within the directory with a tiny icon and file size. No Indexing - Will prevent people from viewing what is within the directory while showing a forbidden error page. Standard Indexing (Text only) - Will show a simple text list of all the files within that directory. Fancy Indexing (graphics and text) - Will basically be the same as the default system indexing. Lets choose No indexing, since we don't want people to view the files in our directory. ![]() You are taken to the confirmation page telling you indexing is now off. ![]() You can see how it'll look to someone viewing, by going to the URL for the directory. You'll notice that you are given a forbidden to access error. This means it was a success! ![]() Good luck! |
|
|
|
|
|
#2 (permalink) |
|
Surpass Fan
Excelling Contributor
Joined in Dec 2005
Lives in MN > USA
Hosted on pass84
961 posts
Gave thanks: 48
Thanked 43 times
|
You can also add this line to a .htaccess file
Code:
Options -Indexes You may also use this in only one specific directory if needed. |
|
|
|