Let PHP use exec but only in 1 directory

Discussion in 'Server Operation' started by CarbonCopy, Aug 23, 2009.

  1. CarbonCopy

    CarbonCopy New Member

    Ok, server security is giving me headaches :(

    I am running Apache with virtual hosts setup. I already use php open_basedir which seems to work great. However, some of my scripts *need* to use the exec function or proc commands, for example to use the OpenSSL Binaries (My shopping cart) or to use the mencoder program to convert videos. Those are the main things, anyway I can use them or replace them with something more secure?

Share This Page