Re: [PATCH] make dl() DTRT under safe mode
| From: | nicos@php.net | Date: | Mon, 18 Aug 2003 08:28:48 +0000 |
| Subject: | Re: [PATCH] make dl() DTRT under safe mode | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-4062@lists.php.net to get a copy of this message | ||
"Zeev Suraski" <zeev@zend.com> a écrit dans le message de
news:5.1.0.14.2.20030818104512.055a9968@localhost...
> At 01:30 18/08/2003, nicos@php.net wrote:
> >Well sure it will be more efficient, but then anyone will be able to use
a
> >shared extension of someone else?
>
> Yes, there's nothing wrong with that. You're making it sound as if it's
> using other people's PHP code, which in almost all cases, it isn't. If
you
> have something private and miraculously you were given permission by the
> administrator to install it, and you don't want others to use it, password
> protect it or something.
>
> >What about shared hostings and conflict names?
>
> I don't see a problem here at all. Again, this is not PHP code.
Hmm, I thought that if we remove dlclose() after every execution then
someone else might use the functions loaded with dl()...
But well it looks fine if you say so.
>
> Zeev
>
nicos.