Securing php from rogue php scripts
| From: | Adrian Teasdale | Date: | Mon, 19 Jan 2004 18:58:45 +0000 |
| Subject: | Securing php from rogue php scripts | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-175071@lists.php.net to get a copy of this message | ||
Hi there
I have been reading about certain php scripts that, if used incorrectly,
can compromise servers. There are certain open source scripts that I
know if (no names mentioned) that have exploits that allow this and I
want to know if there is a "How to" or best practice anywhere for
securing PHP against this. I was told to add some stuff to the php.ini
file to prevent certain actions (phpinfo ,system, include, chown, chmod,
exec, passthru, mail, readfile , dir , read, readdir) but was wondering
if someone could give some advice
Thanks
Ade