RE: [PHP] Only allow one vhost to use exec() ?
- From: manager@xxxxxxxxxx ("Aras")
- Date: Fri, 29 Dec 2006 17:15:29 +0200
Enable safe mode ON, and specify that specific directory in safe mode exec
dir in php.ini.
Alternatively, those settings can be set within Apache configuration
(httpd.conf) per any Vhost directive.
<Virtualhost ....>
....
...
...
php_admin_flag safe_mode 1
....
</Virtualhost>
Aras Koktas
manager@xxxxxxxxxx
Business Excellence Development
Phi.dot Internet Systems
-----Original Message-----
From: MIKE YRABEDRA [mailto:lists@xxxxxxxxxx]
Sent: Friday, December 29, 2006 4:53 PM
To: php-general@xxxxxxxxxxxxx
Subject: [PHP] Only allow one vhost to use exec() ?
I want to be able to use the exec() function on my site, but do not want to
allow all the other users that same ability.
IS there a safe and secure way to limit the use of that function to a single
virtualhost...maybe even a single page or directory?
--
Mike B^)>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
- References:
- Only allow one vhost to use exec() ?
- From: MIKE YRABEDRA
- Only allow one vhost to use exec() ?
- Prev by Date: Only allow one vhost to use exec() ?
- Next by Date: Re: [PHP] Payflow and Php5 on FreeBSD
- Previous by thread: Only allow one vhost to use exec() ?
- Index(es):
Relevant Pages
|