Re: new security related directive for php-4.3.4

From: Date: Fri, 19 Mar 2004 21:41:18 +0000
Subject: Re: new security related directive for php-4.3.4
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-8627@lists.php.net to get a copy of this message
On March 19, 2004 04:28 pm, boulat@funio.com wrote: > So then following your logic why not remove open_basedir,safe_mode,etc all > together from PHP, just to increase the performance? Because it would break BC. When these options were developed Apache 2 was not around and fastcgi support was flimsy at best. Using plain CGI (which MANY ISPs use) to run PHP is quite resource intensive. Popularity of PHP will not be affected by these features and the robustness would only take a step backwards. More over the 'security' you add is easily bypassed through a variety of means. The open_basedir, safe_mode are hacks that were added because webservers at the time didn't not have the ability to easily distinguish individual user accounts and adjust the process uid/gid accordingly. Adding more to these 'features' when real support is already avaliable seems highly counter productive IMO. Ilia

« previous php.internals (#8627) next »