Entry
How do I make PHP available to non-admin users without comprimising security?
Mar 2nd, 2000 12:49
Matt Gregory, Akira Neogono,
There is no one correct answer to this question. I have seen many
people disable access to exec, fopen for file creation, copy, dl(), and
many other functions. The real question is how much to you need to
give php? The truth is, anyone able to create and run scripts on your
server should be somewhat trusted anyhow. Anyone with any access to
any scripting language can find a way to comprimise your security.
But you CAN limit what can be comprimised. PHP allows you to control
almost all of it's funcitonality. I'm not going to try to explain all
of this here, you can read it for yourself on the php site. Be
prepaired to spend a while doing this because you really should
understand how it works if you are going to administer the system.
The link to security information for php is below.
http://www.php.net/manual/security.php3