Security Basics
A defensive path through web attack classes, token authentication, session cookies, secure headers, secret handling, and incident response.
Path overview
This path is generated from the curated resource graph.
Compare "Refresh Token Rotation and Reuse Detection" with "Client-Side Storage and the XSS Question" in "A Complete Guide to JWT Authentication in Web Applications" and state which trade-off you would accept in security engineer code.
Next step: Security Boundaries in Modern Web Applications
⏱ 1h
Reconstruct the reasoning behind "Security Boundaries in Modern Web Applications" by tracing "A practical tour of the browser security model: same-origin policy, CSP, CORS, XSS, and CSRF" to the failure it prevents in security engineer systems.
Prerequisites: A Complete Guide to JWT Authentication in Web Applications
Next step: Rotate a Leaked Secret Safely
⏱ 1h
Run "Revoke the exposed credential at the provider first. Do not wait for history cleanup;" from "Rotate a Leaked Secret Safely" and confirm the documented result "Services authenticate successfully with the new credential and the old credential is".
Prerequisites: Security Boundaries in Modern Web Applications
Next step: Add a Content Security Policy with Nonces
⏱ 0.5h
Apply "Add a Content Security Policy with Nonces" to a security engineer task, checking that "Set a policy that defaults to self, allows scripts only with the nonce, blocks objects and" appears after the "Responses include a restrictive CSP header with the nonce." step.
Prerequisites: Rotate a Leaked Secret Safely
Next step: Security Incident Response Runbook
⏱ 0.5h
Use "Security Incident Response Runbook" to decide "One owner, one channel, and a timestamped record exist.", then prove the outcome with "Limit damage from a security incident, preserve evidence, restore trusted access, and".
Prerequisites: Add a Content Security Policy with Nonces
Next step: JWT Token Decoder
⏱ 2h
Feed a representative input into "JWT Token Decoder" and verify "Decode JSON Web Token (JWT) headers and payloads safely in the browser." by hand.
Prerequisites: Security Incident Response Runbook
Next step: Validate Token Claims Against a Policy
⏱ 0.25h
In the "Security Basics" path, implement "Validate Token Claims Against a Policy" so JSON object: { claims, now, policy: { maxAgeSeconds, audience?, yields [expired], including the second sample's edge case.
Prerequisites: JWT Token Decoder
Next step: Capstone: Security Basics
⏱ 0.5h
Build "Build an Input Sanitizer Service" through its phases, keeping "HTML stripper" independently testable.
Prerequisites: JWT Token Decoder, Validate Token Claims Against a Policy
Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.
⏱ 4h