Application Security, Secrets & Multi-Tenancy

TLS, envelope encryption with KMS, password hashing, secrets management, RBAC/ABAC/ReBAC, tenant isolation with Postgres RLS, injection/XSS/CSRF/SSRF, layered DDoS defence and zero trust

About 105 minutes · 15 exam questions · 9 interview questions · 2 code labs

What you will learn

  1. Mental model: defence in depth and blast radius
  2. Encryption in transit: TLS 1.3 done properly
  3. Encryption at rest, envelope encryption & KMS
  4. Password hashing: argon2id, bcrypt, salts and peppers
  5. Secrets management: Vault, workload identity and rotation
  6. Authorization models: RBAC vs ABAC vs ReBAC (Zanzibar)
  7. Multi-tenant isolation: silo, pool, bridge and Postgres RLS
  8. Injection, XSS and CSRF: the classic web trio
  9. SSRF and the cloud metadata endpoint
  10. DDoS and abuse protection in layers
  11. Zero trust: identity instead of network location

Previous: API Authentication, Authorization & Threat Modeling · Next: Authentication Building Blocks: Sessions vs Tokens, SSO (SAML & OIDC), 2FA/TOTP, JWT vs PASETO & API Keys