Page 1 of 1

How to chmode a directory to...

Posted: Sun Nov 08, 2009 3:39 pm
by konrados
Hi,

What chmod should I use on a folder, so that functions like readdir and readfile will work, but users won't be able to open any file in this directory using a browser?

Re: How to chmode a directory to...

Posted: Sun Nov 08, 2009 4:17 pm
by konrados
nevermind, I'll use htaccess

Re: How to chmode a directory to...

Posted: Sun Nov 08, 2009 5:34 pm
by requinix
In many (less than professional and particularly dedicated) installations there is no way to do that with just permissions on the folder.