Forum Moderators: mack

Message Too Old, No Replies

Easy Question about directory permission numbers.

Newbie here with a question...

         

ZachKC

5:29 am on Mar 30, 2004 (gmt 0)



I am new here and I have to say as someone who is a member of multiple forums the content of this board is impressive. I have my own personal site because I have enjoyed learning how to do it and it is fun. I have a question though...

Could someone please explain to me exactley what can or can't happen with different file permission numbers... I.E. 744, 655.

I am having trouble because I want someone to be able to see a certain picture or video file that is in a directory when they click the link put I don't want them to able to just browse openly everything that is in a directory. Is this doable? Any help is appreciated.

Just in case anyone is curious the site is www.zachishere.com

moltar

5:38 am on Mar 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WW ZachKC!

Read this: Understanding file permissions and modifying them using chmod [geocities.com]

If you don't want users to be able to see the contents of the directory, there are several easy ways of doing it.

1. You can create an empty index.html file in that directory
2. Create a .htaccess file with the following line in it: Options -Indexes

P.S. You should not post personal URLs.