CiteStat/Wiki/HTTPS & Web Security

HTTPS & Web Security

Technical SEO

TL;DR

HTTPS encrypts your site's traffic and is a confirmed Google ranking factor. Security headers like HSTS and CSP protect users and signal trustworthiness.

Explain Simply

HTTPS is like sending a letter in a locked box instead of a postcard — nobody can read it along the way. The padlock icon in your browser means the website is using this locked box.

HTTPS (HTTP Secure) uses TLS/SSL to encrypt data between browser and server. Key security headers: HSTS (forces HTTPS), CSP (Content Security Policy, prevents XSS), X-Frame-Options, X-Content-Type-Options.

Beyond encryption, security headers form a defense-in-depth strategy. HSTS tells browsers to always use HTTPS, preventing downgrade attacks. CSP restricts which scripts can execute, blocking cross-site scripting (XSS). X-Frame-Options prevents clickjacking by controlling iframe embedding.

Mixed content — loading HTTP resources (images, scripts) on an HTTPS page — breaks the security chain. Modern browsers block mixed active content and may warn about mixed passive content.

⚡Why It Matters

HTTPS has been a Google ranking factor since 2014. Chrome now warns 'Not Secure' on HTTP pages. HSTS prevents downgrade attacks and CSP limits cross-site scripting: they protect your visitors, whether or not a search engine ever reads them.

🔍How CiteStat Checks

CiteStat checks HTTPS redirect, SSL certificate, HSTS header, CSP policy, mixed content (HTTP resources on HTTPS page), and other security headers. It then grades the page A+ to F on the MDN HTTP Observatory model: it starts at 100 and takes points off for a missing or weak CSP, HSTS, clickjacking protection, Referrer-Policy, cookie flags, Subresource Integrity on third-party scripts, and an http:// address that does not redirect to https://. For third-party scripts, Chrome's Modern Web Guidance guide "Secure external subresources" (developer.chrome.com/docs/modern-web-guidance/guides/security/secure-external-subresources) asks for Subresource Integrity, crossorigin handling and a restrictive referrer policy; the "Trusted Types" guide covers a further CSP directive.

CiteStat Score Impact

Headline score: the 40 rules that link here count in the Security group (5% of the headline, about 5 of its 5 points), the Technical group (25% of the headline, about 6.9 of its 25 points) and the Common Files group (10% of the headline, about 0.3 of its 10 points).

Fix Difficulty

Editor: N/A | Developer: Easy | AI Agent: Easy