John W. Holmes wrote:
From: "Nirnimesh" <[EMAIL PROTECTED]>

I have a problem regarding using my php scripts to write files to my
account.
We know that php runs as user apache. Now giving write permissions to
apache for uploading files to my account essentially means that I have to
give write permissions for apache (i.e. o+w). Now, does that not mean that
any user which is can run php scripts can have access to my account?

Yes (well, has access to that directory).

Is there any configuration setting that I'm missing.

Safe mode, open_basedir, etc.

Is there a way to cause PHP scripts to run as the user and group associated with the apache virtual host?


cheers,

Travis

--
Travis Low
<mailto:[EMAIL PROTECTED]>
<http://www.dawnstar.com>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to