How to hide files on my site

gragster

Regular Member
Joined
May 24, 2008
Messages
231
Reaction score
38
Hey guys I got a newb question. Im using cpanel how can I keep people from going to my main domain and being able to see all my files. I dont want them to see them unless they know the location. Thanks.

Any help is greatly appriciated.
 
Use ftp friend... download Filezilla free ftp software and login,now make a new directory and upload files :)
 
disregard I found it you turn off indexing in cpanel
 
Or you can code a robots.txt file or put a blank html file in each directory where you have files.
 
be carefully with the robot.txt ... you can enter this file in your browsers url and then see all the places the SE is not supposed to go to. If you add your hidden locations in there then people just figured them out right away.

P.S. One way to get free downloads :-D
 
upload an .htaccess file in the folder you don't want to have indexes enabled on with the content below:
Code:
Options -Indexes

alternatively you could upload a blank index.html/php file..
 
Or you can code a robots.txt file or put a blank html file in each directory where you have files.

that will only stop search engines from indexing the directory. He's talking about the default action of browseable directories when there's not an index.html/php file.
 
Back
Top