Hi,
I have been discussing session stealing with another programmer and ways it can be avoided. By session stealing i mean getting a hold of someone elses active session id and using to access a site.
We have been discussing numerous ways to prevent people stealing other users session including not passing the session in address strings which would obviously be negated if a user has cookies disabled because --enable-trans-sid would mean the session id would automatically be added to the address.
After a lengthy discussion, the only realistic solution we could find was to include the active users ip address as a session variable. We would then include a function as part of our auth check on every page that compares the ip address of the user requesting the page against the ip address we have stored in their session.
Now my question is, can anyone see a flaw in this concept or maybe a better solution that would satisfy our security conscious clients?