Re: Patch to minimize session fixation (continued)
| From: | Hans Lellelid | Date: | Wed, 07 Apr 2004 16:50:52 +0000 |
| Subject: | Re: Patch to minimize session fixation (continued) | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-8967@lists.php.net to get a copy of this message | ||
I also would add that from experience using IP addresses to validate sessions does not work for any internet application.
It is not generic enough to be implemented in world-wide application, but it can be useuful for intranet or extranets. That's to say cases when you know the infrastructure used by the clients to connect to your server support this strategy.Yes, I suppose this is true, but if you are building an intranet application you probably aren't going to need this additional security. I agree with the others -- this belongs in your application. In particular to prevent session fixation (rather than session hijacking) use the session_regenerate_id() after authentication happens. This should prevent fixation. Hans