How to chmode a directory to...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
konrados
Forum Newbie
Posts: 17
Joined: Tue Apr 29, 2008 9:32 am

How to chmode a directory to...

Post 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?
konrados
Forum Newbie
Posts: 17
Joined: Tue Apr 29, 2008 9:32 am

Re: How to chmode a directory to...

Post by konrados »

nevermind, I'll use htaccess
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: How to chmode a directory to...

Post by requinix »

In many (less than professional and particularly dedicated) installations there is no way to do that with just permissions on the folder.
Post Reply