Bug #11549: open_basedir/include_path security improvement

From: Date: Tue, 19 Jun 2001 07:35:03 +0000
Subject: Bug #11549: open_basedir/include_path security improvement
Groups: php.dev 
Request: Send a blank email to php-dev+get-57226@lists.php.net to get a copy of this message
From: david@ols.es Operating system: Any PHP version: 4.0.5 PHP Bug Type: PHP options/info functions Bug description: open_basedir/include_path security improvement As for now, when in safe mode include_path will not work correctly unless all included paths are also in open_basedir, so there is no way to stop users to read files from include_path. It will be useful to restrict include_path to only include and require just by not including those paths also in open_basedir. This will also require some configuration options to avoid defining include_path in .htaccess files and the use of include_path in fopen functions. This way you could store critical information (like db passwords) in included files allowing users to use functions defined in that files but without allowing them to read the real code. -- Edit Bug report at: http://bugs.php.net/?id=11549&edit=1

« previous php.dev (#57226) next »