講座Series

Security & Privacy: Building Secure Applications

Learn how to build secure, privacy-conscious applications from the ground up. Master web security fundamentals, authentication, common vulnerabilities, secure application architecture, privacy engineering, and production security practices through 15 practical lessons.

15 lessons3 levelsAbout 2 hours of reading

Start with lesson 1

Intermediate

Hands-on practice for people who know the basics and use them in real projects.

  1. Lesson 7: SQL Injection and Secure Database Queries ExplainedHow SQL injection happens, why escaping isn't the fix, and how parameterized queries, safe ORMs, allowlists, and least-privilege database roles prevent it, with tests.9 min read
  2. Lesson 8: Cross-Site Scripting (XSS), CSRF, and Browser DefensesHow XSS and CSRF work, why framework escaping helps but isn't the whole story, and how sanitization, Content Security Policy, SameSite cookies, and CSRF tokens fit together.9 min read
  3. Lesson 9: Secure Authentication, Authorization, and Session ManagementSign-in flows that resist guessing and enumeration, sessions that rotate and expire, and authorization checks on every object, the most common serious bug in web apps.9 min read
  4. Lesson 10: API Security: Protecting Tokens, Secrets, and Sensitive DataProtect APIs from the risks in the OWASP API Security Top 10: object-level checks, response shaping, rate limits, token validation, and keeping secrets out of code.9 min read

Pro

Advanced techniques for large, complex, and production systems.

  1. Lesson 11: Threat Modeling and Secure-by-Design Software ArchitectureFind design flaws before they become code: the four threat modeling questions, data flow diagrams, STRIDE, risk ranking, and the architectural patterns that remove whole classes of bugs.9 min read
  2. Lesson 12: Advanced Application Hardening: SSRF, File Uploads, and Security HeadersHarden the features attackers love: URL fetchers that can reach your internal network, file uploads that can carry code, and the response headers that limit what the browser will do.10 min read