Re: Re: allow_url_fopen should be INI_ALL

From: Date: Mon, 27 Jun 2005 06:18:46 +0000
Subject: Re: Re: allow_url_fopen should be INI_ALL
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-16914@lists.php.net to get a copy of this message
I think most of us can agree following statement "allow_url_fopen = ON" is dangerous and the feature is not useful most of the times. Stefan Esser wrote: >> It's not stupid to prevent them from being made. But that's not what >> an admin does. When the admin comes into play, the application is >> already "made" and employed. The admin just prevents it from working >> as the >> developer and the qa-team intended. > > > The admin is deciding what is allowed on his system and what not. Any > application that cannot deal with different setups is simply broken. > > Same for register_globals/magic_quotes_gpc. If your application does not > behave in the same way with any of these features turned on or off, it > is simply broken. I think you missed my point. - allow_url_fopen is ON by default. - allow_url_fopen is INI_SYSTEM directive (i.e. Cannot change this setting from script) Obviously, current setting is not secure than - allow_url_fopen = OFF - allow_url_fopen = INI_ALL Later setting is more secure and one can use allow_url_fopen feature when it is needed. -- Yasuo Ohgaki

« previous php.internals (#16914) next »