Menu

#30 Sessions should use 2 factor authentication

open
Security (1)
9
2011-06-30
2011-06-30
No

Setting a session cookie should set a base64 encoded random hash as well as the session id in the form "<id>:<hash>" and store the hash in the session table. When authenticating via a session cookie, the session is checked against both the session id and the hash.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB