RE: preventing a user to start a process

From: David Hogan (david_at_fundamentalit.com)
Date: 07/26/05

  • Next message: mdff: "RE: preventing a user to start a process"
    To: "'Thomas Krause'" <freebsd-isp@chef-ingenieur.de>, "'Gustavo A. Baratto'" <gbaratto@superb.net>
    Date: Tue, 26 Jul 2005 13:54:00 +1000
    
    

    > -----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
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
    

  • Next message: mdff: "RE: preventing a user to start a process"