Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8622 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94001 invoked by uid 1010); 19 Mar 2004 21:05:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 93977 invoked from network); 19 Mar 2004 21:05:11 -0000 Received: from unknown (HELO colo.lerdorf.com) (66.198.51.121) by pb1.pair.com with SMTP; 19 Mar 2004 21:05:11 -0000 Received: from rasmus2.corp.yahoo.com (rasmus2.corp.yahoo.com [207.126.233.18]) by colo.lerdorf.com (8.12.11/8.12.11/Debian-3) with ESMTP id i2JL58qA030575; Fri, 19 Mar 2004 13:05:08 -0800 Date: Fri, 19 Mar 2004 13:05:03 -0800 (PST) X-X-Sender: rasmus@thinkpad.lerdorf.com To: Ilia Alshanetsky cc: internals@lists.php.net, boulat@funio.com In-Reply-To: <200403191602.17011.ilia@prohost.org> Message-ID: References: <61700.66.158.132.127.1079718509.squirrel@www.funio.com> <63330.66.158.132.127.1079724184.squirrel@www.funio.com> <200403191602.17011.ilia@prohost.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-4.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on colo Subject: Re: [PHP-DEV] new security related directive for php-4.3.4 From: rasmus@php.net (Rasmus Lerdorf) On Fri, 19 Mar 2004, Ilia Alshanetsky wrote: > As for Rasmus' idea of adding various options and possibly regular expression. > open_basedir works right now with a minimum amount of overhead in most > situations. Which still makes the file operations a fair bit slower, but > certainly acceptable loss given the security benefits. However, adding more > options, that would make open_basedir resolving quite a bit slower will > quickly tip the scales in favor of performance. With complex file system > operation checks, you certainly will not be able to host anywhere near 3000 > users. If you are using open_basedir at all, you have already given up all hope of any sort of performance. -Rasmus