Re: Securing php from rogue php scripts
| From: | David T-G | Date: | Sat, 24 Jan 2004 02:41:35 +0000 |
| Subject: | Re: Securing php from rogue php scripts | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-175609@lists.php.net to get a copy of this message | ||
Adrian, et al --
..and then Adrian Teasdale said...
%
% Hi there
Hi!
%
% I have been reading about certain php scripts that, if used incorrectly,
% can compromise servers. There are certain open source scripts that I
Interesting.
% 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
1) I'm no expert, though I'd like to be somewhat closer
2) If you're not speaking of safe mode, then look at safe mode
3) Please share what you find to help others, including me.
%
%
% Thanks
%
% Ade
TIA & HTH & HAND
:-D
--
David T-G * There is too much animal courage in
(play) davidtg@justpickone.org * society and not sufficient moral courage.
(work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/ Shpx gur
Pbzzhavpngvbaf Qrprapl Npg!