Re: curl_init() is bypassing safe_mode & open_basedir restrictions

From: Date: Sun, 31 Oct 2004 21:51:38 +0000
Subject: Re: curl_init() is bypassing safe_mode & open_basedir restrictions
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-13648@lists.php.net to get a copy of this message
On Mon, 1 Nov 2004 01:19:54 +0300, Antony Dovgal <tony2001@phpclub.net> wrote: > On Sun, 31 Oct 2004 10:46:28 -0800 > Sterling Hughes <sterling.hughes@gmail.com> wrote: > > > I still consider adding such things wrong.... > > Sterling, I still think that you can be right, but I'd > like to hear some arguments. > "This is wrong" or "this is silly" aren't too informative. > I think the best argument came from Derick > Privilege seperation should be a function of a > webserver, not of a scripting language and therefore we shall not put > hacks in extensions because libraries do not adhere to safe mode. It's > almost certain that one can never put all the necessary checks in the > extension anyway. Speaking as an administrator who would be particularly affected by this situation (I work at a web hosting company that does a fair amount of shared web hosting) I could not agree more. Safemode should not attempt to modify the actions of the underlying libraries. Setting up a solid shared hosting platform takes a lot more than just one PHP option, and if you don't want this functionality in curl on your system, you should remove it from curl. However that is just my 2 cents. -- Adam C. Greenfield <adam.greenfield@gmail.com>

« previous php.internals (#13648) next »