Security Mindset
Handling Sensitive Data
Authentication & Authorization
Session Management
JWT
Spring Security
Practice
Assignment
Back end Track
Under construction
<aside>
🚧
This page is currently under construction. Please check back later.
</aside>
Implementation plan:
- How session-based authentication works — the full flow
- User logs in → server creates a session → session ID stored in a cookie
- Server-side session storage (in-memory, database, Redis)
- Cookies:
HttpOnly, Secure, SameSite flags
- Session expiration and invalidation (logout)
- Advantages: simple, easy to revoke, battle-tested
- Disadvantages: stateful server, scaling challenges, sticky sessions
- When session-based auth is the right choice
The HackYourFuture curriculum is licensed under CC BY-NC-SA 4.0

*https://hackyourfuture.net/*
Found a mistake or have a suggestion? Let us know in the feedback form.