Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jul 2005 13:54:00 +1000
From:      "David Hogan" <david@fundamentalit.com>
To:        "'Thomas Krause'" <freebsd-isp@chef-ingenieur.de>, "'Gustavo A. Baratto'" <gbaratto@superb.net>
Cc:        freebsd-isp@freebsd.org
Subject:   RE: preventing a user to start a process
Message-ID:  <20050726035353.643F943D48@mx1.FreeBSD.org>
In-Reply-To: <42E57524.3030200@chef-ingenieur.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> -----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()

Hope this helps,
Dave

----
David Hogan
Hosting & Development Manager
Fundamental IT - 1300 882 395
http://www.fundamentalit.com




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