Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81894 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34675 invoked from network); 5 Feb 2015 10:51:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2015 10:51:46 -0000 Authentication-Results: pb1.pair.com header.from=leight@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=leight@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.173 as permitted sender) X-PHP-List-Original-Sender: leight@gmail.com X-Host-Fingerprint: 209.85.212.173 mail-wi0-f173.google.com Received: from [209.85.212.173] ([209.85.212.173:60211] helo=mail-wi0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7E/21-27691-14B43D45 for ; Thu, 05 Feb 2015 05:51:46 -0500 Received: by mail-wi0-f173.google.com with SMTP id r20so37960117wiv.0 for ; Thu, 05 Feb 2015 02:51:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=o4Ffz0JvqAokuGR/SOM5SXFFU56PWKIn4PYcJfeK8Z4=; b=SwTAyi84rOSuwIJKJoQmZPp4LYr6ynBDpX4QmWMRkumJH1PxptmliojdbWTJVwrMhL iI5u6G0S3i6wx+5yYAw+XN6xNhBpbRcnWwewUzz0N3mEn5q4RB7w7P1rf32i77Py2s/7 LchcbhmWNEwDhoduY+PbnU962oJbtlDudibozLmQhUHjbzafMK6o/XB7Z5RaAEtCfLIA U5CaPt6SjZA8YrczRwYp6PsXQ94OBtCCiLLOG0j+mGeqyoF9Jf7u46VtluxIS+jkTXGD +Q+X1zemMDbiaQl6ZkREpyTACgSoMZMASwzIhNEZ59Q8uYaGpOc6dmNZ+cXJRM7604+E AFOQ== MIME-Version: 1.0 X-Received: by 10.194.108.162 with SMTP id hl2mr6523382wjb.134.1423133502381; Thu, 05 Feb 2015 02:51:42 -0800 (PST) Received: by 10.216.50.139 with HTTP; Thu, 5 Feb 2015 02:51:42 -0800 (PST) In-Reply-To: References: Date: Thu, 5 Feb 2015 10:51:42 +0000 Message-ID: To: "internals@lists.php.net" Cc: Yasuo Ohgaki , Pierre Joye Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Re: [RFC][DISCUSSION] script() and script_once() From: leight@gmail.com (Leigh) On 5 February 2015 at 10:24, Pierre Joye wrote: > I do understand what you try to achieve, from all point of view. > However I strongly disagree with this as a security improvement. I see > this more as yet another attempt to replace what should be done at the > OS level. > I'm inclined to agree, this is just another mitigation against a specific vector, not a solution. I'm sure given a little bit of time a way to bypass it will be found. Also introducing this in PHP 7 will not fix all of the currently broken apps, nor will it get people to start using this method even if they do upgrade to PHP 7. I honestly think this is one of the cases where education is better .