PHP Sessions and Security
:hello:
First, thanks to the people who responded to my other thread here:
http://www.antionline.com/showthread...hreadid=262880
And I'd like to continue that discussion if possible with a focus on sessions. Heres the deal:
We have an administrator section of a website written in PHP. I'd like to hear suggestions securing this section as much as possible, riddance to functionality! The reason why I say this, is because I am writing an admin section for a CMS (very slowly unfortunately) that I will use myself and I am going to release for others to use as well. I hope to make it highly configurable, allowing simple or very specific policies.
I am paying special attention to this paper:
http://www.securenet.de/papers/Session_Riding.pdf
I'd also like it to be designed to prevent the effects of a session hijack. Something I realized was that I couldn't force a user to have a certain IP to access the admin section, because not everyone maintains an IP while they surf. I then looked at using browser agents, but those are kind of predictable and I'm trying to figure out another solution. I will still implement those policies, but I will allow it to be configured not to, for AOL users or whoever uses the CMS.
Those are the specifics.
Any suggestions regarding my comments, and also wild ideas are encouraged. :)
(Happy|Merry) .* everybody.
And anyone who criticizes my attempt at regex will be negged severely...