Lion Cipher Lab

Read a website's HTTP security headers

Why it matters

When a browser loads a page, the server can send a set of response headers that instruct the browser to enforce specific protections — force HTTPS, refuse to run injected scripts, refuse to be framed by another site, stop guessing file types. These are cheap, powerful, and entirely under the site owner's control, and yet they are frequently missing or misconfigured. Learning to read them tells you, in seconds and without touching anything, how seriously a site takes browser-side defence — and if you build web apps, it shows you the exact levers you should be setting. Reading headers is not an…

What you'll learn

Steps in this lab

  1. Read the headers: one benign request, then look
  2. Strict-Transport-Security (HSTS): force HTTPS
  3. Content-Security-Policy (CSP): refuse injected scripts
  4. X-Content-Type-Options: stop MIME sniffing
  5. X-Frame-Options (and frame-ancestors): stop clickjacking
  6. Referrer-Policy, and reading the whole set as a checklist
  7. Why a HEAD request tells you so much

Open the full interactive lab →