note 84423 deleted from function.session-start by peehaa

From: Date: Fri, 09 Dec 2016 22:20:07 +0000
Subject: note 84423 deleted from function.session-start by peehaa
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-208350@lists.php.net to get a copy of this message
Note Submitter: michael at pythontech dot net dot au ---- @ash Whilst this may prevent session hijacking attempts, it also ruins the user experience, pressing back and forward will result in the 'security' token being out of sync. Also opening new tabs/ windows will also cause issues. A better method would be to simply check the ip address or ip block of the user. But this is not without problems either. To access highly sensitive information, the user should be required to enter his/her password again, even tho they are logged in. This ensures that session hijackers can not access this information. All this goes hand-in-hand with regenerating session ids on login, and good use of https.

« previous php.notes (#208350) next »