caduh

All posts

Featured

CORS Explained Without Cargo Culting

A practical guide to CORS for builders: origins, preflights, credentials, common browser errors, and the server configs that actually fix them without opening your API to the world.

7 min read
devsecurityweb
No image

Secrets Management 101

A practical guide to env vars, secret managers, rotation, and least privilege — with delivery patterns for web apps, workers, CI/CD, and Kubernetes.

10 min read
devsecuritysecrets

CSRF Still Matters

A practical guide to CSRF protection in modern apps: SameSite cookies, synchronizer tokens, custom headers, Fetch Metadata, and the CORS mistakes that quietly reopen old holes.

7 min read
devsecuritycsrf

RBAC vs ABAC vs ReBAC

A practical guide to choosing role-based, attribute-based, or relationship-based authorization for real products, with examples for SaaS apps, internal tools, B2B org models, and shared resources.

10 min read
devauthauthorization

Passkeys / WebAuthn in Practice

A practical guide to shipping passkeys with WebAuthn: registration, sign-in, recovery, account settings, and the RP ID/origin gotchas that usually break rollouts.

9 min read
devauthpasskeys

Session Cookies vs JWTs vs PASETO

A practical guide to choosing session cookies, JWTs, or PASETO for web apps, SPAs, mobile apps, and APIs without cargo-culting stateless auth.

11 min read
devauthsecurity

OAuth 2.1 & OpenID Connect, Explained for Builders

A practical guide to OAuth 2.1 and OpenID Connect for real apps: authorization code + PKCE, refresh tokens, ID tokens, and machine-to-machine flows without the usual auth confusion.

7 min read
devauthoauth