Learn
Cybersecurity · Module 13
Web and API Security
Web and API flaws by root cause, with the fix that removes each.
Comes with Pro: every lesson in this module.
Start here · Lesson 01
Untrusted input and injection
Keep data and code apart, so input can never become a command.
Start lesson
LessonsAll lessons
-
01
Untrusted input and injectionKeep data and code apart, so input can never become a command.
Pro
-
02
The same-origin policy and CORSWhat the browser lets one site read from another, and why.
Pro
-
03
Cross-site scripting and content security policyEncode output for its context, and back it with a strict content policy.
Pro
-
04
Requests your server makes, and files it acceptsLet the server fetch only allowed hosts, and keep uploaded files inert.
Pro
-
05
Designing a secure APISecure an API endpoint by endpoint, including the ones nobody listed.
Pro
-
06
Business logic and race conditionsFind the steps a user can skip or run twice, and close each one.
Pro
-
07
Failing closedMake every error path and default end in the safe state.
Pro
-
08
Abuse, bots and account takeoverStop credential stuffing and bots with limits sized from real traffic.
Pro
-
09
Memory safety and language choiceWhy memory bugs happen, and how a team plans its way out of them.
Pro
-
10
Mobile apps and the APIs behind themA phone app can't keep a secret, so its server has to.
Pro