RE: Only allow one vhost to use exec() ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:  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

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux