Learn DNS · Security and scams
Security settings (security headers)
In one lineReviewed 2026-11-13The whole idea in one short sentence. The rest of the page explains it step by step.
Security headers are little instructions your website gives the browser, like "always use the padlock" or "don't let other sites put me in a frame". They block whole groups of attacks for free.
What it is
DNSFix checks the main ones:
- Strict-Transport-Security (HSTS): always use HTTPS.
- Content-Security-Policy: which scripts may run.
- X-Frame-Options / frame-ancestors: stops your site being hidden inside another to trick clicks.
- X-Content-Type-Options, Referrer-Policy, Permissions-Policy: smaller safety settings.
What happens if it's not fixed
- Missing headers make some attacks easier (clickjacking, mixed content, script injection).
- Security scanners and insurers flag them.
How to fix it
- Ask your web host or web person to add the headers. Many DNS hosts with a proxy can add them for you.
- Start with HSTS, X-Content-Type-Options and frame-ancestors. Content-Security-Policy needs testing.
Related
This page explains: Security settings.