# Check your website's security headers — and what each one means.

> Check your site's security headers from the live homepage: HSTS, CSP, X-Content-Type-Options, Referrer-Policy, cookie flags, with exact values. From $8 a check.

Source: https://scandefend.com/check-security-headers

Security headers checker · free check

Runs in every scan · 8 checks

HSTS, CSP, X-Content-Type-Options, Referrer-Policy and cookie flags, read from your live homepage, exact values included.

-   No card for the free check
-   Results usually in minutes
-   $8 for 1 check, $18 for 5, $59 for 20 (+ applicable tax)
-   No subscription needed
-   [View sample report](https://scandefend.com/sample-report?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers)

**Quick Scan**

Areas checked

11

In good shape

4

Fixes in minutes

3 of 5

1.  Medium

    Protect the session cookie

    F2 · Confirmed · Minutes

    Evidence

    Observed

    `Set-Cookie: PHPSESSID=…; path=/`

    Expected

    `Set-Cookie: PHPSESSID=…; path=/; Secure; HttpOnly; SameSite=Lax`

    Fix

    1.  Add the Secure and HttpOnly flags (and SameSite=Lax) to session cookies.
    2.  In PHP: session.cookie\_secure = 1 and session.cookie\_httponly = 1.

2.  Low

    Add a DMARC record for your domain

    F3 · Confirmed · Minutes

    Evidence

    Observed

    `_dmarc.example.com TXT (no record)`

    Expected

    `_dmarc.example.com TXT "v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com"`

    Fix

    1.  Make sure every service that sends your mail passes SPF or DKIM aligned with your domain, and confirm DKIM with your email provider.
    2.  Publish a \_dmarc TXT record: v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com. p=none only monitors.
    3.  When the reports show your real mail passes, move to p=quarantine.

3.  Medium

    Update an outdated component

    F1 · Likely · Hours

\+ 3 more findings in the full report [Open the sample report](https://scandefend.com/sample-report?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers)

What you get

## A report you can act on. In plain English, with evidence.

Security headers tell browsers how to protect your visitors. ScanDefend reads the ones your homepage sends (and the ones it doesn't), explains each, and gives you the line to add.

-   Strict-Transport-Security, Content-Security-Policy, X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy
-   Cookie flags: Secure, HttpOnly, SameSite
-   HTTP → HTTPS redirects
-   The exact header value on every finding

-   [HTTPS and redirects](https://scandefend.com/checks/https?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers)
-   [Encryption (TLS) test](https://scandefend.com/checks/https?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers)
-   [Security headers](https://scandefend.com/check-security-headers?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers)
-   [Email security (SPF, DMARC, DKIM)](https://scandefend.com/checks/email-security?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers)
-   [Outdated software and plugins](https://scandefend.com/checks/outdated-software?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers)
-   [Known vulnerabilities](https://scandefend.com/checks/outdated-software?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers)
-   [Cookie security](https://scandefend.com/checks/cookies?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers)
-   [Google blocklist](https://scandefend.com/checks/blocklist?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers)
-   [Exposed keys](https://scandefend.com/checks/exposed-secrets?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers)
-   [Exposed files (verified sites)](https://scandefend.com/checks/exposed-files?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers)
-   [DNS health](https://scandefend.com/checks/dns?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers)

Pricing

## From $8 a check. Buy more, pay less per check.

Plus applicable tax, shown before you pay. No subscription needed.

[See pricing and the calculator](https://scandefend.com/pricing?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers)

Quick Scan

Available

-   [1 check $8 $8.00 a check \+ tax Check a site](https://scandefend.com/check-security-headers?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers#check)
-   [Recommended 5 checks $18 $3.60 a check \+ tax Check a site](https://scandefend.com/check-security-headers?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers#check)
-   [For agencies 20 checks $59 $2.95 a check \+ tax Check a site](https://scandefend.com/check-security-headers?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers#check)

5 checks cover a month of weekly checks for $18. No subscription needed.

-   One credit checks one website
-   Credits last 12 months
-   One-off payment, no auto-renewal
-   Credit back automatically if your scan can't run or half or fewer of its checks run. If your website blocks us but most checks ran, the website checks re-run free, once, within 30 days. [How credits work](https://scandefend.com/legal/refunds?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers)

[Check my headers](https://scandefend.com/check-security-headers?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers#check)

Checkout by Stripe. We never see your card.

Prices before tax. Final total shown before you pay.

[Powered by Stripe](https://stripe.com/)

Apple Pay Google Pay · Link · Visa · Mastercard · American Express

Where available for your device and country.

What we check

## Every header we read. And how well it's set.

Part of every Quick Scan, alongside [the other checks](https://scandefend.com/checks?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers).

A sensible starting set of headers

```
Strict-Transport-Security: max-age=31536000; includeSubDomains
Content-Security-Policy-Report-Only: default-src 'self'
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Referrer-Policy: strict-origin-when-cross-origin
Permissions-Policy: camera=(), microphone=(), geolocation=()
```

-   ### Strict-Transport-Security (HSTS)

    Browsers told to always use HTTPS, for long enough.

-   ### Content-Security-Policy

    Present, enforced, and how tightly it limits scripts.

-   ### X-Content-Type-Options

    Browsers don't guess file types.

-   ### Framing protection

    X-Frame-Options or frame-ancestors keeps your pages out of other sites' frames.

-   ### Referrer-Policy and Permissions-Policy

    What you share with other sites, and which browser features you switch off.

-   ### Scripts from other sites

    Integrity checks (SRI) on scripts loaded from elsewhere.

-   ### Cross-site sharing (CORS)

    Set up so other sites can't read signed-in data.

-   ### Cookie flags

    Secure, HttpOnly and SameSite on the cookies your homepage sets.

Real format

## Two findings. Exactly as a report shows them.

[Open the full sample report](https://scandefend.com/sample-report?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers)

F4 · security-headers

### Tell browsers to always use HTTPS

Low Confirmed Minutes

What it means

An HSTS header sends browsers straight to https://, even when a visitor types your address without it, so after the first visit, every return visit goes straight to an encrypted connection.

Evidence

```
Strict-Transport-Security: (header absent)
```

Expected

`Strict-Transport-Security: max-age=31536000`

Fix

Send Strict-Transport-Security in stages: max-age=300 first, then a week, then max-age=31536000 once every page works over HTTPS. Add includeSubDomains only when every subdomain works over HTTPS. Leave preload off unless you're sure: it is hard to undo.

F5 · security-headers

### Add a Content Security Policy

Low Confirmed Days

What it means

A Content Security Policy is defence in depth: it tells browsers which scripts your pages may load. It doesn't fix a weakness on its own, but a well-configured policy can limit what injected script loads or where it sends data.

Evidence

```
Content-Security-Policy: (header absent)
```

Fix

Start with Content-Security-Policy-Report-Only to learn what the site legitimately loads, adjust it until nothing you need is reported, then enforce the policy.

Questions

## Short answers.

Something else? [support@scandefend.com](mailto:support@scandefend.com)

**Which headers does ScanDefend check?**

Strict-Transport-Security (HSTS), Content-Security-Policy, X-Content-Type-Options, X-Frame-Options, Referrer-Policy and Permissions-Policy, plus the Secure, HttpOnly and SameSite flags on cookies set by the homepage.

**Which page does it check?**

Your homepage. Headers are often set site-wide at the server or CDN, but other pages can differ, and the report says so in its scope.

**Can I export the results?**

Yes. A paid or unlocked report downloads as PDF, JSON or Markdown, with a fix brief for your developer, and your scan history stays in your account for re-checks after changes.

**What are security headers?**

Security headers are short instructions your website sends with every page, telling browsers how to protect your visitors. For example, they can force HTTPS or stop other sites from showing your pages inside a frame. They're free to add, and the report says which of yours are missing.

Keep exploring

## Related checks. All part of the same Quick Scan.

-   [7 checks HTTPS and HSTS Every visit lands on a secure connection, and stays there.](https://scandefend.com/checks/https?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers)
-   [4 checks Cookie security Secure, HttpOnly and SameSite on the cookies you set.](https://scandefend.com/checks/cookies?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers)
-   [7 checks Exposed keys Secret keys and internal details left in public code.](https://scandefend.com/checks/exposed-secrets?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers)

Also useful: [What we check](https://scandefend.com/checks?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers) [Sample report](https://scandefend.com/sample-report?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers) [Pricing](https://scandefend.com/pricing?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers) [For developers](https://scandefend.com/for/developers?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers) [Let ScanDefend in](https://scandefend.com/bot/allow?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers) [Free instant headers check](https://scandefend.com/tools/security-headers-check?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers)

## See what your website shows. Know what to fix first.

[See pricing](https://scandefend.com/pricing?utm_source=ai&utm_medium=referral&utm_campaign=ai-md&utm_content=check-security-headers)

Every Quick Scan 11 areas

-   HTTPS and redirects
-   Encryption (TLS) test
-   Security headers
-   Email security
-   Outdated software and plugins
-   Known vulnerabilities
-   Cookie security
-   Google blocklist
-   Exposed keys
-   Exposed files (verified sites)
-   DNS health

One report, with plain-English fixes

These are the USD list prices; the website shows each visitor prices in their own local currency, which vary by country.
