Apex › Security & web

HSTS & SSL stripping

One header that forces https forever. Without it, a man-in-the-middle keeps you on plaintext and reads everything (sslstrip). With HSTS, the browser rewrites http→https itself before any request leaves — but only after it's seen the header once. Toggle the attacker, the recorded header, and the preload list to see exactly where the connection is safe and where the trust-on-first-use gap bites.

More in Security & web