Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27536 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56338 invoked by uid 1010); 19 Jan 2007 10:12:00 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 56320 invoked from network); 19 Jan 2007 10:12:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jan 2007 10:12:00 -0000 Authentication-Results: pb1.pair.com header.from=rquadling@googlemail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=rquadling@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 66.249.92.175 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rquadling@googlemail.com X-Host-Fingerprint: 66.249.92.175 ug-out-1314.google.com Linux 2.4/2.6 Received: from [66.249.92.175] ([66.249.92.175:23097] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B2/A9-10486-05990B54 for ; Fri, 19 Jan 2007 05:11:29 -0500 Received: by ug-out-1314.google.com with SMTP id o4so436346uge for ; Fri, 19 Jan 2007 02:11:26 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Iftwz1uIGi+XFH7Hvnf9MSZldyPNl2IRGQ2Wpe67t6iemWOIU2SYtDJ7VYRuqyKsnurFWx9RghpANVZFs9caDRkWSBPolf6SLLxJUmDGH15m+oyb95Pfqdu1GLVK9xo/VutN90spV9b4/wLVCCtzpr7rc6+jfRiWS6qqriIe+Fk= Received: by 10.78.171.13 with SMTP id t13mr83614hue.1169195682621; Fri, 19 Jan 2007 00:34:42 -0800 (PST) Received: by 10.78.75.16 with HTTP; Fri, 19 Jan 2007 00:34:42 -0800 (PST) Message-ID: <10845a340701190034y54d4a7fbhea323c5901355e77@mail.gmail.com> Date: Fri, 19 Jan 2007 08:34:42 +0000 Reply-To: RQuadling@GoogleMail.com To: "PHP Internals" In-Reply-To: <45AFDACB.4040007@php.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45AD76C3.5030303@php.net> <84D1223A-9B47-4076-B1AE-85659525C21D@bitxtender.com> <45AFDACB.4040007@php.net> Subject: Re: [PHP-DEV] allow_url_fopen / allow_url_include and fine grained control From: rquadling@googlemail.com ("Richard Quadling") Sort of thinking out loud and not really sure if this is possible, but if a wrapper is NOT present (specifically denied) in allow_url_fopen, but "user" is present, could a user defined wrapper emulate the missing one, thereby bypassing the restriction? On 18/01/07, Sara Golemon wrote: > > I assume this would also mean all userland stream wrappers become is_url=1? > > > > Anyway, +1. > > > This patch, by itself, doesn't affect the is_urlness of userspace > wrappers. Whether or not we change their designation is up to a > separate concensus (I'm in favor of it for the record). > > Funnily enough though, Pierre and I were just discussing the problem of > userspace wrappers. Specifying all potential userspace wrapper names in > a whitelist style allow_url_fopen setting isn't realistic, so we thought > it might be a good idea to add a sort of "meta-wrapper" name to be used > in the whitelist style. e.g. allow_url_fopen=file,http,ftp,user > would allow those first three wrappers explicitly by name, plus any > userdefined wrapper (regardless of specific name). For completeness, we > might also add a metawrapper called "internal" for "All non-userspace > based wrappers", though the specific usefulness of that is a little more > iffy... > > -Sara > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"