090 m/repository
Security in depth
The practices below appear across different projects and work as complementary layers. Pick a scenario to see where it is contained.
000 m/interface
- Output escaping (React)
- CSP
- HSTS
- X-Frame-Options
- Referrer-Policy
030 m/route
- Rate limiting
- Anti-bot (Turnstile)
- Origin check
- Signed session (HMAC)
- Session revocation
060 m/service
- Zod validation
- RBAC
- Ownership check (anti-IDOR)
- Webhook signature
- MIME allowlist
- Non-enumerable codes
090 m/repository
- Parameterized queries
- Tenant scoping
- Atomic operations
120 m/persistence
- RLS
- bcrypt
- AES-256-GCM