View Full Version : [SOLVED] Rookie chmod question
mr.propre
July 24th, 2008, 12:20 PM
At the moment I protect my image folder on my websites with a HTML file. But isn't there a way using chmod to prevent people of reading you directory (open dir) and still be able to see the files if you have the full file name.
Thanks in advance.
mech7
July 24th, 2008, 12:28 PM
With Apache you can turn off directory browsing with:
Options -Indexes
earthmeLon
July 24th, 2008, 02:02 PM
Could you use .htaccess?
mr.propre
July 24th, 2008, 05:32 PM
Could you use .htaccess?
Yes I can :-)
Trail
July 25th, 2008, 03:21 AM
I don't think that's related to chmod.
Supposing you disable search/list access on a directory (the 'x' for 'execute'), then you do not have the permission to see the contents of the directory, but you cannot access files by a full path inside that directory either.
HymnToLife
July 25th, 2008, 03:30 AM
I don't think that's related to chmod.
Supposing you disable search/list access on a directory (the 'x' for 'execute'), then you do not have the permission to see the contents of the directory, but you cannot access files by a full path inside that directory either.
True. Setting Options -Indexes, either using .htaccess or directly in the Apache configuration, is the way to go.
mr.propre
July 26th, 2008, 06:30 AM
Thank you for the help, it helped me allot :KS
K.Mandla
July 26th, 2008, 07:16 AM
This has been solved, but I'm going to drop it in Server Platforms so someone searching for this information will find it in the logical place. Cheers. :D
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.