PHP 4.0 Bug #10065 Updated: User Impersonation
| From: | hholzgra@php.net | Date: | Thu, 29 Mar 2001 21:48:57 +0000 |
| Subject: | PHP 4.0 Bug #10065 Updated: User Impersonation | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-50302@lists.php.net to get a copy of this message | ||
ID: 10065
Updated by: hholzgra
Reported By: wizaerd@wizaerd.com
Old-Status: Open
Status: Closed
Bug Type: Feature/Change Request
Assigned To:
Comments:
this is a webserver topic and nothing
php itself can control as it inherits
the user settings from the webserver
it runs in or is started from
when run as cgi you have some control
via apaches suexec(?) config options
but unless you run php cgi as root
(which is a very bad idea IMHO) there
is no way to have PHP itself control
the process user settings
Previous Comments:
---------------------------------------------------------------------------
[2001-03-29 16:33:53] wizaerd@wizaerd.com
It's be nice to be able to run a PHP script as a specific user, perhaps a user specified user.
It would have to authenticate username and password, but then instead of CHMODding our directories
and files for file uploads, an upload script could behave as the owner of those directories...
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10065&edit=2