2 min read · Websites and web apps

Sessions, devices and re-authentication. Signing out of one device is different from revoking all devices. Account recovery needs safeguards that are consistent with those used at sign-in.
Steps to apply it
- Define which tasks require re-authentication
- Design the session lifetime and how sessions are revoked
- Test a password change, a reduction of permissions and an employee leaving the company
- Check shared-device use and requests sent while a session expires
Example deliverable
Deliverable: a table of session-revocation events and test cases
Benefits
Helps control continued use after account conditions change.
Limits and cautions
Expiring too often interrupts work, and sessions that cannot be revoked add risk.
Starting references
- OWASP — Session Management
- OWASP — Forgot Password Cheat Sheet
References
- OWASP — Session Management (accessed 2026-11-21)
- OWASP — Forgot Password Cheat Sheet (accessed 2026-11-21)




