4
I pay monthly for a website hosting service that provides me with PHP and FTP support. I can upload my files and create directories and such.
Now, I am wondering... If I upload a folder full of images.. or music.. basically personal stuff to my website and name it 'junk1234' can other people find it?
Or even search engines?
If so, How would I restrict any but those who know the folder name from seeing files in it? Possibly httaccess files?
I also have cpanel installed.
1Just a thought when considering search engines, there are "evil" bots that specifically look inside robots.txt for places that are hidden in this manner. For personal files, it is really best to just not advertise they exist, and change the directory name periodically. – Goyuix – 2010-05-10T16:18:44.120
So a random directory cannot be found without knowing the name?
like there is no html command or server command they can send to list directories? – tcables – 2010-05-10T16:29:03.830
@Tom: Commands like these exist, but none through HTML or HTTP. If anybody gets FTP or SSH access to your server, then they could find the files, but they're fairly secure protocols, so they're only getting passwords if you give them out. – Phoshi – 2010-05-10T16:32:20.217
@Gouyuix: You're right. Bots or humans could very easily find the hidden directory by adding them to your robots.txt file. I'll take back that suggestion for security's sake. – Trey Hunner – 2010-05-10T16:40:06.657