Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jul 2005 18:49:10 +0200
From:      Thomas Krause <freebsd-isp@chef-ingenieur.de>
To:        David Hogan <david@fundamentalit.com>
Cc:        freebsd-isp@freebsd.org, "'Gustavo A. Baratto'" <gbaratto@superb.net>
Subject:   Re: preventing a user to start a process
Message-ID:  <42E66986.4080004@chef-ingenieur.de>

next in thread | raw e-mail | index | archive | help


David Hogan schrieb:
>>-----Original Message-----
>>From: owner-freebsd-isp@freebsd.org [mailto:owner-freebsd-isp@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42E66986.4080004>