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.

  1. 01

    The security mindset and threat modeling

    Think like an attacker before you write code: map assets, trust boundaries and entry points.

    Beginner25 min
  2. 02

    HTTP, cookies and sessions

    How the web remembers who you are, and how to configure session cookies so they stay safe.

    Beginner30 min
  3. 03

    SQL injection

    See how untrusted input rewrites database queries, then fix it with parameterised statements.

    Beginner35 min

Application Security

The vulnerabilities that matter most in real applications, and the defences that stop them.

  1. 04

    Cross-site scripting (XSS)

    Stop attacker-controlled text from running as code in your users' browsers.

    Intermediate40 min
  2. 05

    Cross-site request forgery (CSRF)

    Stop other websites from making your users' browsers perform actions they did not intend.

    Intermediate30 min
  3. 06

    Authentication done right

    Hash passwords properly, resist guessing attacks and build login and reset flows that do not leak information.

    Intermediate40 min
  4. 07

    Broken access control

    Authentication tells you who someone is. Authorisation decides what they may do, and it must be enforced on the server.

    Intermediate35 min
  5. 08

    Security headers and Content Security Policy

    Use HTTP response headers to tell browsers which scripts, frames and features your site may use.

    Intermediate35 min
  6. 09

    Dependencies, secrets and the supply chain

    Protect the code you did not write and the credentials your application depends on.

    Intermediate30 min