News for hackers. Stuff that matters.
Re:Everything you ever wanted to know about building a secur... by hombre_fatal on Thursday January 31, 2019 @02:36PM (#19047969)
Or execute sql "update active_sessions set expired_at = now() where user_id = $1"

Expiring all sessions should definitely be a critical point on anyone's checklist when building a password reset system.

Spotify didn't have this for the longest time and it was insane. Someone could buy a hacked account for $1 and get pretty much unlimited access. Though a special sort of infuriating softwaregore because you had to listen to what they were listening to.

Re:Everything you ever wanted to know about building a secur... by eknkc on Thursday January 31, 2019 @02:43PM (#19048039)
If you do not have a server side session store, only option is to use a nonce of some sort though.
Re:Everything you ever wanted to know about building a secur... by ben-schaaf on Friday February 01, 2019 @02:27AM (#19052311)
Or use a access/refresh token pair