Re: Re: Safe Mode & open_basedir
| From: | Wez Furlong | Date: | Thu, 08 Aug 2002 09:44:19 +0000 |
| Subject: | Re: Re: Safe Mode & open_basedir | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-86633@lists.php.net to get a copy of this message | ||
On 08/08/02, "Yasuo Ohgaki" <yohgaki@ohgaki.net> wrote:
> > Your open_basedir/safe_mode patches were completely bogus
> > because the streams check open_basedir and safe_mode themself.
>
> I'm well aware of streams is checking safe mode.
>
> Are you sure all wrappers are checking open_basedir, too?
> Then we can get rid of some open_basedir checks.
All the wrappers are (or were when I added streams!) using streams
when they open files, so the answer to your question is yes.
However, code that uses other means of opening files are not
automatically safe_mode aware.
HTH!
--Wez.