Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:8965 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42440 invoked by uid 1010); 7 Apr 2004 15:50:36 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 42400 invoked from network); 7 Apr 2004 15:50:36 -0000 Received: from unknown (HELO postfix4-1.free.fr) (213.228.0.62) by pb1.pair.com with SMTP; 7 Apr 2004 15:50:36 -0000 Received: from shuttle (lns-vlq-25-82-255-142-155.adsl.proxad.net [82.255.142.155]) by postfix4-1.free.fr (Postfix) with SMTP id 69096DD54A for ; Wed, 7 Apr 2004 17:50:35 +0200 (CEST) Message-ID: <020e01c41cb8$11d3cd30$4601a8c0@shuttle> To: Date: Wed, 7 Apr 2004 17:50:36 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: [PHP-DEV] Patch to minimize session fixation (continued) From: jd@inodes-fr.com ("inodes") Sasha suggests me to implement these checkings in my script: IMHO that's not the good strategy. You guys are probably good programmers, but my experience shows me that the "standard" PHP developper is not aware of security problems or he/she has not the time to finalize the scripts (time is money...). So I would like to provide a way to ensure some basic tests are made by PHP itself ! As an analogy I could talk about "mod_security" Apache module: it globalizes some tests before Apache calls the scripts and so minimizes the effort of the developpers that would always take care of user's input... Of course, good programmers always filter entries, but adding another security level is a good practive too... I could also say that my patch is a bit like the "safe mode": it is not perfect at all but, nertheless, it can be useful ! So, I will enhance the "patch" to make it less restrictive when testing the IP addresses and think about a strategy to handle AOL-like ISP... Cheers, Jerome