open_basedir and lock out sub directory?

Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.

Moderator: General Moderators

Post Reply
cmate
Forum Newbie
Posts: 2
Joined: Tue Apr 08, 2008 12:50 pm

open_basedir and lock out sub directory?

Post by cmate »

Is there a way for me to use open_basedir to lock a host to a directory, but also lock out subdirectories?

For example, if i have:

php_admin_value open_basedir /thisdirectoryisok/

is there a way to lock out this directory?:

/thisdirectoryisok/notok/
Post Reply