caduh

Posts tagged “security

Tiny explainers grouped by topic. Spend less time Googling, more time building.

JWTs — Expiration, Rotation, and Revocation

Design access + refresh flows that are safe: short-lived access tokens, rotating refresh tokens with reuse detection, device-scoped sessions, and practical revocation strategies.

devsecurityauth

Securely Managing Environment Variables (The Right Way)

Why you shouldn’t commit .env files, how to handle secrets differently in local, staging, and production, and the exact patterns to inject, validate, rotate, and audit configuration safely.

devsecuritysecrets