preventing a user to start a process

Thomas Krause freebsd-isp at chef-ingenieur.de
Tue Jul 26 16:48:55 GMT 2005



David Hogan schrieb:
>>-----Original Message-----
>>From: owner-freebsd-isp at freebsd.org [mailto:owner-freebsd-isp at freebsd.org]
>>On Behalf Of Thomas Krause
> 
>  
> 
>>I've searched all php-files for the system()-funktion - it's not
>>possible for me do disable this function.
> 
> 
> Can't you just use the 'disable_functions =' option in php.ini to disable
> the php functions that can be used to spawn processes ?
> 
> You could use it to disable at least the following functions:
> 
> system()
> exec()
> passthru()
> popen()
> pcntl_exec()
> shell_exec()
> 

Unfortunately, that is not possible. E.g. typo3 calls Imagemagick, so I 
need system().

Regards,
Thomas.


More information about the freebsd-isp mailing list