Syllabus
The GuardCoder course
9 lessons · about 300 minutes of reading and labs. Work through them in order.
Foundations
How the web works, how sessions are built, and where the most common attacks begin.
- 01
The security mindset and threat modeling
Think like an attacker before you write code: map assets, trust boundaries and entry points.
- 02
HTTP, cookies and sessions
How the web remembers who you are, and how to configure session cookies so they stay safe.
- 03
SQL injection
See how untrusted input rewrites database queries, then fix it with parameterised statements.
Application Security
The vulnerabilities that matter most in real applications, and the defences that stop them.
- 04
Cross-site scripting (XSS)
Stop attacker-controlled text from running as code in your users' browsers.
- 05
Cross-site request forgery (CSRF)
Stop other websites from making your users' browsers perform actions they did not intend.
- 06
Authentication done right
Hash passwords properly, resist guessing attacks and build login and reset flows that do not leak information.
- 07
Broken access control
Authentication tells you who someone is. Authorisation decides what they may do, and it must be enforced on the server.
- 08
Security headers and Content Security Policy
Use HTTP response headers to tell browsers which scripts, frames and features your site may use.
- 09
Dependencies, secrets and the supply chain
Protect the code you did not write and the credentials your application depends on.