Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:59446 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94686 invoked from network); 7 Apr 2012 23:01:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Apr 2012 23:01:20 -0000 Authentication-Results: pb1.pair.com smtp.mail=keisial@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=keisial@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.182 as permitted sender) X-PHP-List-Original-Sender: keisial@gmail.com X-Host-Fingerprint: 209.85.212.182 mail-wi0-f182.google.com Received: from [209.85.212.182] ([209.85.212.182:65055] helo=mail-wi0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 10/00-29109-F37C08F4 for ; Sat, 07 Apr 2012 19:01:20 -0400 Received: by wibhr14 with SMTP id hr14so1257177wib.11 for ; Sat, 07 Apr 2012 16:01:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=2uJalS7H6m+J50ktJQF9kcXN/sQRcZz/0yzBA960tOo=; b=k7tTV0Rkk4+2lkg5fP07i/xJSZILtEzCJ4UgjES8nx9BxUxpcjVRZb0Sr9K3Huo4fT pzLJucNUiTcRm78X/KDc72LpWEuay6tP4pf+nmQeEtD7jZDVnXO937e+5jmeROt6gKGx sQA2vs1anfU++Ng9DPXsu1XKFvnIA6W+gbTQP68yqhU1SaWtt11IhfmF7s12Yikufozn G6EDi9EWVkm0I7Rl+Rmp+bQmsXP6jjVDqGbHl/W+yN1lr+dJ5xSDGN/HrjwQOR91PzD+ jN91IYHsVjn+Hzo0n6c3lGexNGjHbIZo3qUJOtIhV7fUhSROAdPzELIXKHsHfPd6MJ1F bJQw== Received: by 10.216.138.135 with SMTP id a7mr1463091wej.19.1333839676274; Sat, 07 Apr 2012 16:01:16 -0700 (PDT) Received: from [192.168.1.26] (82.Red-81-32-56.dynamicIP.rima-tde.net. [81.32.56.82]) by mx.google.com with ESMTPS id bx13sm18021002wib.10.2012.04.07.16.01.14 (version=SSLv3 cipher=OTHER); Sat, 07 Apr 2012 16:01:15 -0700 (PDT) Message-ID: <4F80C739.2060404@gmail.com> Date: Sun, 08 Apr 2012 01:01:13 +0200 User-Agent: Thunderbird MIME-Version: 1.0 To: Yasuo Ohgaki CC: PHP Developers Mailing List References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] PHP class files without Hi, > > The only valid reason for removing security. > > Since the null byte detection for fopen, remote/local script inclusion > became much harder than before. However, it's still possible and very > easy compare to other languages. Script execution is critical security > problem and it's worth to make it better. > > If there is a switch that turns off PHP's template engine nature, PHP > could be more secure than now. > > php.ini > template_mode = on ; INI_ALL On by default > > php -t foo.php # template mode by default > php -T foo.php # template mode off > > People has option to make their code a little secure than now > or stick with current behavior. > > Regards, How does it help security? If any, requiring '