← All posts
Guide

A CDN gives every site HTTPS. It will not set the security headers.

Nearly half of the top one million sites with a known nameserver run on Cloudflare, so HTTPS now arrives by default. dxbub's own measurement shows the response headers that defend the page are a separate decision most sites skip: only 13% of the web, and 4% of US small businesses, send all five core security headers.

Trust · Security headers · Security
The short answer

The padlock in the address bar is now almost free, because so much of the web sits behind a handful of CDNs: per NetAPI's analysis of the top one million sites, 45.6% of those with a known nameserver resolve to Cloudflare, and the big CDNs provision the certificate and negotiate modern TLS for everyone behind them. The HTTP response headers that defend a page after it loads are a separate, deliberate configuration that no CDN sets by default. dxbub measured both layers: TLS is near-universal, but only 13% of the whole web and 4% of US small businesses send all five core security headers.

Key takeaways
  • A CDN hands you HTTPS automatically, so a modern padlock says nothing about whether a site made any security decision.
  • Per NetAPI's top-one-million analysis, 45.6% of sites with a known nameserver run on Cloudflare, which is why TLS is now a default across the popular web.
  • In dxbub's own data, TLS 1.3 reaches 91% of the whole web and 94% of US small businesses, but only 13% and 4% respectively send all five core security headers.
  • 27% of the whole web, and 37% of US small businesses, send none of the five core headers at all.
  • Even the headers that appear are often the weak form: 36% of the web sends a Content-Security-Policy, but only 5% use it to restrict where scripts load from.
Contents
  1. Who actually runs the web's front door
  2. The padlock is the easy half
  3. What the CDN will not do for you
  4. What to check on your own site
  5. Sources

When a site shows a padlock, that is almost always the content delivery network's doing, not a sign the site made a single security decision. The connection is encrypted because the CDN in front of the site provisioned the certificate and negotiated a modern handshake. Everything that defends the page after it loads is a separate layer, set by a person, and most sites never set it.

Who actually runs the web's front door

The reason HTTPS is now a default is concentration. NetAPI's analysis of the top one million websites finds that among sites where the nameserver could be identified, 45.6% resolve to Cloudflare, with the next-largest provider a distant 5.3%. Hosting is concentrated too: 39.8% of resolved sites answer from the United States, a share NetAPI notes is inflated because CDN edge locations are counted at the edge IP, not the origin. A CDN that fronts that much of the web turns on TLS for everyone behind it, which is why the padlock has stopped being a signal of anything.

Fig. 1Nameserver provider across the top one million sites (where known)
  • Cloudflare45.6%
  • GoDaddy5.3%
  • Google Cloud DNS1.3%
  • Namecheap1.2%

Source: NetAPI, Anatomy of the Top 1 Million Websites, December 2026 (CC BY 4.0)

That is the part a site gets for free. The HTTP response headers that tell the browser how to protect the page are the part it does not.

The padlock is the easy half

dxbub measured both layers directly. One study read the security headers and TLS of 1,000 sites sampled from the Tranco top one million; a companion study did the same for 1,863 US small-business sites. The connection layer looks exactly as the CDN concentration predicts: nearly every site has it. The header layer collapses.

Fig. 2Connection layer versus header layer
  • TLS 1.3, whole web91%
  • TLS 1.3, US small business94%
  • All five core headers, whole web13%
  • All five core headers, US small business4%

Source: dxbub data studies, November 2026 (whole web: 1,000 Tranco sites; small business: 1,863 US SMB sites)

The padlock reaches more than nine sites in ten. Sending all five of the core browser-security headers, Strict-Transport-Security, a frame protection, X-Content-Type-Options, a Content-Security-Policy and Referrer-Policy, reaches 13% of the whole web and 4% of small businesses. At the other end, 27% of the whole web and 37% of small businesses send none of the five.

What the CDN will not do for you

A CDN provisions the certificate and negotiates the protocol because those happen at the connection, before any application logic. The security response headers are a choice about how the browser should treat the page's own content, so no CDN sets them by default: it cannot know what your page needs. They defend the visitor rather than the server, which is why they are so easy to skip. Nothing breaks without them, until something does. Missing frame protection lets another site load yours in a hidden frame to trick a click. A missing nosniff lets a browser run an uploaded file as a script. A weak Content-Security-Policy removes the backstop that would contain a cross-site scripting bug.

Sending a header is also not the same as sending a useful one. Across the whole web, 36% of sites send a Content-Security-Policy, but only 5% use it to restrict where scripts may load from, the part that actually stops cross-site scripting. Among small businesses that figure is 1%. The rest send a policy that stops nothing it was meant to.

What to check on your own site

The gap closes with a block of response-header configuration, not an application rewrite. The same five headers cover most of the risk:

  1. Send Strict-Transport-Security with a long max-age, then add preload once every subdomain is on HTTPS.
  2. Send X-Content-Type-Options: nosniff.
  3. Stop clickjacking with X-Frame-Options or a Content-Security-Policy frame-ancestors rule.
  4. Send a Content-Security-Policy that actually restricts script sources, the step only 5% of the web completes today.
  5. Send a Referrer-Policy so your URLs do not leak to the sites you link to.

Run a free website audit to see which security headers your own homepage sends, or a Website Security Audit for an active scan of the whole site. The underlying numbers are in the two studies: security headers across the web and across US small businesses.

Sources

  1. NetAPI: Anatomy of the Top 1 Million Websites

See it on your own site

dxbub turns a single URL into a scored, sourced, ordered plan across all six pillars, AI Visibility included.

Free AI visibility check. No sign-up required.

Related reading