Guides
Which security headers should my website send?
A website tells the browser how to protect its visitors through a few response headers. They cost nothing to add, and the check below reads the ones your site sends today.
Guides ·
- Secure connection (HTTPS)Fine
- Security headersFine
Your own result, checked now in your browser
Xovris checks Secure connection (HTTPS) and Security headers on the address you give it
Runs in your browser – nothing is saved to an account.
Your result, and what to change first
HTTPS every time: Strict-Transport-Security
HSTS tells the browser to use only HTTPS for your site for a set time, so a visitor on a hostile network always reaches the encrypted site, never an unencrypted copy. Once every part of the site works over HTTPS, send it for a year: Strict-Transport-Security: max-age=31536000.
Content-Security-Policy: what a page may run
A Content-Security-Policy lists where scripts, styles and frames may come from, so a script injected into a page does not run. Start with Content-Security-Policy-Report-Only to see what a policy would block, then send the same policy for real.
The small ones: nosniff, referrer and framing
X-Content-Type-Options: nosniff stops the browser guessing a file’s type; Referrer-Policy: strict-origin-when-cross-origin limits what other sites learn of your addresses; and frame-ancestors in the policy (or X-Frame-Options) stops another site framing your pages to trick a click.
What it reads, and what to check beside it
It reads the headers your home page sends to the place the check runs from. Other pages, signed-in areas and other servers can send different ones, and headers are one layer: they do not mend a weakness in the site’s own code.