|
First of all, the reason you couldn't see your files when you did a "chmod 666" is that directories have to be executable or you will not be able to enter or access any files in them.
If I understand what you're requesting, you want the directory to be accessible to the web, but you want it so that you have to know the name of the file in order to read it. If that's the case, do this.
1. Set your directory to 755 (if you haven't already fixed that problem)
2. put a blank index.html in the directory (NOT Index.html...keep it all lower case)
3. As an added measure, as recommended above, upload (IN ASCII MODE) a .htaccess file in the directory (that's DOT htaccess) and in that file, put the following lines in it (use a text editor like notepad to create this file. Do NOT use Word or something similar)
Options -Indexes
DirectoryIndex index.html index.htm
Now, no one can view the files in that directory unless they know exactly what the file name is.
-- Bill
|