caduh

Posts tagged “web

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

CORS Explained Without Cargo Culting

What actually breaks in CORS, which headers matter, and the server configs that fix browser errors without accidentally opening your API.

devsecurityweb

CSRF Still Matters

CSRF never really left. Here’s how SameSite cookies, synchronizer tokens, custom headers, and Fetch Metadata fit together in modern apps.

devsecuritycsrf

Session Cookies vs JWTs vs PASETO

Three ways to carry auth state, three different tradeoffs. Here’s where session cookies, JWTs, and PASETO fit without stateless-auth cargo culting.

devauthsecurity

Web Accessibility Basics: 5 Easy Wins for Every Developer

Low‑effort, high‑impact a11y fixes: alt text, semantic HTML & landmarks, color contrast (and non‑color cues), keyboard navigation & focus, and form labels/errors—with copy‑paste examples.

devwebaccessibility