YOUR SIX-LESSON PATH
Build and secure one small API.
A guided project in six lessons. Keep the same files as you identify an access-control bug, fix it, test it, and investigate its logs. Begin with lesson 01; it needs only a text editor.
Need a hand before you begin? Set up your tools · Look up a term
- 01Plan
Map the risk before the code
Trace a private record request and write a testable security requirement.
15 minOpen lesson ↗ - 02Code
Find and fix a broken access check
Reproduce an authorization flaw, fix it, and keep the regression tests.
20 minOpen lesson ↗ - 03Build
Check your runtime
Make failing security tests stop a build and run the app without root privileges.
20 minOpen lesson ↗ - 04Test
Turn the regression into a CI gate
Run the same security tests for changes with a read-only CI token.
15 minOpen lesson ↗ - 05Deploy
Release to your own machine
Run a controlled local release, check health, and practice stopping it.
15 minOpen lesson ↗ - 06Monitor
Investigate a denied request
Read a useful security event and walk through an incident response decision.
15 minOpen lesson ↗