StudyMate
G

Authentication, Sessions & Security

4. Security & Quality

4. SECURITY & QUALITY

Authentication, Sessions & Security

Password hashing, sessions vs JWTs, refresh-token rotation, cookie flags, CORS/CSRF and the security headers that stop the OWASP top ten in an API.

5 resources 0 labs
Node-specific hardening: dependency auditing, avoiding eval and prototype pollution, header hardening and keeping secrets out of the process.
TEXTENFREE 20 min4.9 (50)
Header, payload and signature explained, plus the claims you should and should not put inside a token.
TEXTENFREE 15 min4.7 (59)
Hindi discussion of how JWTs are structured and signed, and when a session store is the better answer than a stateless token.
VIDEOHIFREE 26 min4.5 (77)
Builds login, token issue/verify, protected routes and refresh tokens, with the trade-offs of JWT vs server sessions explained along the way.
VIDEOENFREE 28 min4.3 (45)
The checklist real auth implementations are audited against: password storage, brute-force throttling, reset flows and session handling.
TEXTENFREE 30 min4.1 (79)