RE: [PHP-DB] security in PHP under Apache
| From: | Jonathan Hilgeman | Date: | Wed, 23 May 2001 17:36:29 +0000 |
| Subject: | RE: [PHP-DB] security in PHP under Apache | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-9579@lists.php.net to get a copy of this message | ||
PHP runs via Apache, so it adopts the user that Apache uses, essentially.
You can use a program like sudo to allow them to run certain commands on the
server.
Jonathan
-----Original Message-----
From: Simon R Jones [mailto:simon@studio24.net]
Sent: Wednesday, May 23, 2001 10:31 AM
To: php-db@lists.php.net
Subject: [PHP-DB] security in PHP under Apache
hi there
does anyone know how to make PHP run as a different user than the default
one ("nobody" i believe). I have many users with websites and would like
them to be able to run PHP under their usernames so as to ensure security.
Though I'm not sure this is possible unless I install PHP as a CGI binary
and use something like suExec (I currently have it as an Apache module, and
would like to leave it that way).
best wishes,
simon
-------------------------------------------
Studio 24 Ltd | tel. 01223 501 892
PO Box 88 | fax. 0870 063 1216
Cambridge | mob. 07974 074 547
CB4 1XH | www.studio24.net
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net