Re: Using INCLUDES in SAFE MODE

From: Date: Thu, 03 Jul 2003 08:42:17 +0000
Subject: Re: Using INCLUDES in SAFE MODE
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-153842@lists.php.net to get a copy of this message
Configuration directive: safe_mode_include_dir string
    UID/GID checks are bypassed when including files from this directory and its subdirectories (directory must also be in include_path or full path must including).
    As of PHP 4.2.0, this directive can take a semi-colon separated path in a similar fashion to the include_path directive, rather than just a single directory.
MIKE YRABEDRA wrote:
I currently have all my users in safe-mode to prevent them from running shell commands via php. I would still like for them to be able to access certain folders (i.e. PEAR, basic_functions, etc..) that reside out of their root. Since safe_mode prevents this, is there a way in the domain's config, to allow access to *specific* directories when in safe_mode? TIA +--------------------------------------------+ Mike Yrabedra (President) 323 Incorporated Home of MacDock, MacAgent and MacSurfshop +--------------------------------------------+ W: http://www.323inc.com/ P: 770.382.1195 F: 734.448.5164 E: mike@323inc.com I: ichatmacdock +--------------------------------------------+ "Whatever you do, work at it with all your heart, as working for the Lord, not for men." ~Colossians 3:23 <{{{>< +--------------------------------------------+


« previous php.general (#153842) next »