Web Security

The attacks a frontend is actually responsible for, and the browser primitives that mitigate them.

11 articles

Stop fighting CORS

Listed inCORSWeb Securityon

A CORS error is a server configuration problem wearing a browser error message. What the preflight actually asks, what breaks when credentials are involved, and the fixes that are not a proxy.

Intermediate8 min
#security
#http

Cache Control

Listed inCache ControlWeb Securityon

Cache headers, ETags, immutable assets, and the invalidation strategy a hashed filename gives you.

Intermediate8 minDraft
#http
#performance

CORS

Listed inCORSWeb Securityon

Preflights, credentials, and why a CORS error is almost always a server configuration problem.

Intermediate8 minDraft
#security
#http

HTTPS

Listed inHTTPSWeb Securityon

TLS, certificates, HSTS, and mixed content — plus the browser features that require a secure context.

Beginner6 minDraft
#security
#networking