Glossary

Website security terms, explained

What each check means, the attack it stops, and where to read more. Grades follow the same approach as Mozilla HTTP Observatory scoring.

HTTPS & redirects

HTTPS

HTTP over an encrypted TLS connection. The padlock in the address bar.

Why it matters: Without it, anyone on the network (public Wi-Fi, an ISP, a compromised router) can read and change what's sent, including passwords and the page itself.

HTTP → HTTPS redirect

When someone visits the http:// address, the server immediately sends them to the https:// version of the same site.

Why it matters: People still type addresses without https:// and old links point to http://. Without the redirect they stay on the unencrypted version.

Redirect chain

The sequence of redirects a browser follows before reaching the final page, for example http → https → www.

Why it matters: Each hop costs time, and a hop over plain http:// can be intercepted. Short chains are faster and safer.

Security headers

Strict-Transport-Security (HSTS)

A header that tells browsers: only ever connect to this site over HTTPS, for the next max-age seconds. includeSubDomains extends it to subdomains; preload asks browsers to build it in.

Why it matters: Stops downgrade attacks (SSL stripping), where an attacker on the network keeps a visitor on http:// before the redirect to https:// can happen.

Content-Security-Policy (CSP)

A header listing where the page may load scripts, styles, images, frames and other resources from. Anything else is blocked by the browser.

Why it matters: The strongest defence against cross-site scripting (XSS): even if an attacker injects a <script>, the browser refuses to run it. 'unsafe-inline' and wildcards switch most of that protection off.

Clickjacking protection (X-Frame-Options / frame-ancestors)

X-Frame-Options, or the CSP directive frame-ancestors, controls which sites may show your pages inside an iframe.

Why it matters: Stops clickjacking: an attacker loads your site invisibly in a frame and tricks visitors into clicking buttons on it (deleting an account, approving a payment).

X-Content-Type-Options

Set to nosniff, it tells browsers to trust the Content-Type the server sends instead of guessing the type from the content.

Why it matters: Stops a file uploaded as an image or text from being run as a script or rendered as HTML (MIME sniffing attacks).

Referrer-Policy

Controls how much of the current page's URL is sent to other sites in the Referer header when a visitor clicks a link or the page loads a resource.

Why it matters: URLs can contain private data: reset tokens, search terms, account IDs. A strict policy such as strict-origin-when-cross-origin sends only the domain to other sites.

Cross-Origin-Opener-Policy (COOP)

Set to same-origin, it puts your page in its own browsing context group, cut off from windows opened by or opening other sites.

Why it matters: Stops other sites from keeping a handle on your window (XS-Leaks, tabnabbing) and helps isolate the page from side-channel attacks like Spectre.

Cross-Origin-Resource-Policy (CORP)

Says which sites may load this response into their own pages: same-origin, same-site, or cross-origin (anyone).

Why it matters: Stops other sites from pulling your responses into their pages, where side-channel attacks like Spectre could read them.

Cross-Origin-Embedder-Policy (COEP)

require-corp or credentialless makes the page load cross-origin resources only if they opt in (or without cookies). Together with COOP it makes the page cross-origin isolated.

Why it matters: Isolation keeps other sites' data out of your page's process, and unlocks powerful features like SharedArrayBuffer safely. Test first: third-party embeds may stop loading.

Permissions-Policy

Turns browser features such as the camera, microphone, geolocation and payments on or off for your page and anything it embeds.

Why it matters: If a third-party script or iframe is compromised, it can't quietly ask for features your site never uses.

Deprecated security headers

Headers browsers no longer use: X-XSS-Protection, Expect-CT, Public-Key-Pins and Feature-Policy (replaced by Permissions-Policy).

Why it matters: They do nothing at best. X-XSS-Protection: 1 can even introduce leaks in old browsers, and a wrong Public-Key-Pins could lock visitors out.

Cookies

Cookie security flags

Attributes on Set-Cookie: Secure (HTTPS only), HttpOnly (hidden from JavaScript) and SameSite (not sent on requests from other sites).

Why it matters: Session cookies without them can be stolen over the network, read by injected scripts, or used in cross-site request forgery (CSRF).

Cookie Secure flag

A cookie marked Secure is only ever sent over HTTPS.

Why it matters: Without it, the cookie goes out in plain text whenever anything is requested over http://, where anyone on the network can copy it.

SameSite cookies

SameSite=Lax or Strict stops the browser from sending the cookie on requests that start on another site.

Why it matters: The main defence against cross-site request forgery (CSRF), where another site makes your logged-in visitors' browsers perform actions.

SameSite=None without Secure

SameSite=None lets a cookie be sent from other sites, and browsers require such cookies to also be Secure.

Why it matters: Browsers reject SameSite=None cookies that aren't Secure, so they silently don't work.

Cookie name prefixes (__Host- and __Secure-)

Cookies named __Secure-… must be Secure; __Host-… must also have Path=/ and no Domain. Browsers enforce these rules.

Why it matters: Stops a subdomain or a plain-HTTP page from overwriting your important cookies (cookie tossing).

CORS & page content

CORS (Cross-Origin Resource Sharing)

Headers such as Access-Control-Allow-Origin that let a server say which other websites may read its responses from JavaScript.

Why it matters: If a server echoes back any Origin it's sent (especially with credentials allowed), any website can read your users' private data while they're logged in.

Mixed content

An https:// page that loads scripts, styles, images or frames over plain http://.

Why it matters: The http:// parts can be read and changed in transit, so one insecure script undoes the page's HTTPS. Browsers block most of it, which can also break the page.

Subresource Integrity (SRI)

An integrity attribute on <script> and <link> tags with a hash of the file. The browser refuses to run the file if it doesn't match.

Why it matters: If a CDN or third-party host is hacked and the file is swapped, visitors' browsers won't run the tampered version.

TLS & disclosure

TLS certificate

The certificate that proves the server really is this domain, issued by a certificate authority browsers trust. It expires and must be renewed.

Why it matters: An expired, self-signed or mismatched certificate shows visitors a full-page warning and trains them to click through warnings.

Legacy TLS (1.0 and 1.1)

Old versions of the TLS protocol that the server may still accept when a client asks for them, even if modern browsers use TLS 1.2 or 1.3.

Why it matters: They rely on weak cryptography and were formally retired in 2021 (RFC 8996). Accepting them lets downgrade attacks and old, unpatched clients in.

Certificate key strength

The size of the certificate's public key: RSA keys should be at least 2048 bits, elliptic-curve (ECDSA) keys at least 256 bits.

Why it matters: Weak keys can be broken, letting an attacker impersonate the site.

security.txt

A text file at /.well-known/security.txt saying how to report a security problem with your site (RFC 9116).

Why it matters: Researchers who find a vulnerability know whom to tell, instead of giving up or posting it publicly.

Software version disclosure

Headers such as Server: nginx/1.18.0 or X-Powered-By: PHP/7.4 that announce exactly which software and version the site runs.

Why it matters: Attackers scan for known-vulnerable versions. Hiding them doesn't fix anything, but it stops your site turning up in those searches.

DNS & email

CAA records

A DNS record listing which certificate authorities may issue certificates for your domain, e.g. only Let's Encrypt.

Why it matters: If someone tricks another authority into issuing a certificate for your domain, CAA-compliant authorities refuse.

DNSSEC

Cryptographic signatures on your DNS records, so resolvers can check the answers really come from your domain.

Why it matters: Without it, an attacker who can tamper with DNS can send visitors (and email) to their own servers.

SPF (Sender Policy Framework)

A DNS TXT record listing the servers allowed to send email for your domain, ending in -all (reject others) or ~all.

Why it matters: Without it, anyone can send email that claims to be from your domain (phishing your customers and staff).

DMARC

A DNS record at _dmarc.yourdomain telling receiving mail servers what to do with email that fails SPF/DKIM: nothing (p=none), spam (quarantine) or reject.

Why it matters: It's what actually stops spoofed email from being delivered, and gives you reports about who sends as your domain. Gmail and Yahoo require it for bulk senders.

MTA-STS

A policy that tells other mail servers to deliver email to you only over encrypted, verified connections.

Why it matters: Stops attackers on the network from downgrading incoming email to plain text and reading it.

IPv6

The newer internet addressing system. A site reachable over IPv6 has an AAAA record in DNS.

Why it matters: Not a security issue on its own; some mobile and corporate networks are IPv6-first, so supporting it improves reach.

See how your site does

Scan a site