# Why HTTPS matters even with nothing to hide

**TL;DR:** HTTPS protects more than passwords and credit cards. It prevents censorship by making it impossible to selectively block content without blocking an entire site.

Published 2015-01-06 · [View on Ben Balter's site](https://ben.balter.com/2015/01/06/https-all-the-things/)

---

You're probably already familiar with technologies like SSL and TLS. They're the little green icon in the top left corner of your browser anytime you visit a site with a URL that begins with `https://`. They're most often used to secure sensitive web requests, like checking your bank account balance or purchasing stuff online. HTTPS encrypts the connection between your computer and the server you're talking to so that nobody can jump in the middle and muck things up.[^1]

Traditionally, the arguments in favor of HTTPS have been for integrity, privacy, and identity. If a message is encrypted by a server before it's sent to your computer, and it's done in such a way that only you can decrypt it, you can have a high level of confidence that the message you receive is the message the server sent (integrity), and that you're the only one who opened it (privacy). Further still, because of the initial handshake that makes all this possible, you know that the server you're talking to is the one you want to talk to, and not someone else pretending to be the server (identity). Without HTTPS, there are a couple of points in the route each request must take that could allow a third party to intercept, or worse, modify your request or its response as it travels over the open internet.

## Censorship is the bigger argument for HTTPS

Like most people, I suspect, I used to think HTTPS was only for requests that needed to be secure. After all, that's what the "S" in HTTPS stands for. But with [GitHub being blocked in India](https://techcrunch.com/2014/12/31/indian-government-censorsht/), I realized there's another, much broader argument in favor of HTTPS everywhere: *censorship*.

Whether a corporate firewall or a country-wide block, intercepting and screening an HTTPS-backed site becomes much harder. While an ISP or employer could easily stand up a proxy or other firewall to inspect and filter incoming traffic for objectionable content, if that traffic is encrypted, [the only datapoint exposed to third parties is the requested domain](https://gemfury.com/help/url-string-over-https), not what content you're requesting from the server.[^2]

## Censors have to block the whole site

Typically, when you make a request to a site, the first step is to convert the human-readable domain name (for example, `example.com`) to a computer-readable IP address (for example, `93.184.216.34`) by querying your internet provider's domain server. Think of it like checking the yellow pages for a company's phone number. But if you're the internet provider, there's no reason you can't instruct your domain server to return no IP address, making it look like the requested domain doesn't exist, or worse, to return a malicious site in its place.

To block a particular piece of content on a site using HTTPS, say a blog post on WordPress.com, your only choice is to poison the DNS entry to block the entire site, as there's no way to know if the user's request is for objectionable or innocuous content. This forces a baby-with-the-bathwater choice and is exactly how most internet censorship is implemented today, at least on the state level.[^3]

You've probably seen the [now-famous Google DNS graffiti](http://mashable.com/2014/03/21/twitter-ban-turkey-graffiti/) when Turkey banned Twitter. If you point your computer at a public DNS server instead of your internet service provider's, the domain lookup (the weak link in the request) goes to a third party beyond the state's control, and the site becomes accessible again.[^4]

## HTTPS belongs on every public site

HTTPS protects not only the content you request but also the fact that you requested it. HTTPS isn't just for online banking and e-commerce. HTTPS is for any site that adds to the public dialog, whether it's political commentary, how to contact a government official, or just a personal blog.[^5] If you run a site, especially a government site, even if you never process "sensitive" requests, consider adding HTTPS support and enforcing HTTPS by default.

Ironically, HTTPS is about more than keeping things hidden. It's about keeping things seen.

[^4]: While it's possible to block external DNS entirely, or to block certain IPs, this is exponentially more complex for for-profit, privately owned ISPs to implement, quickly becomes a game of whack-a-mole, and will almost undoubtedly be over inclusive, especially where CDNs or shared hosting is involved.

[^1]: See, for example, [Comcast injecting ads](https://arstechnica.com/tech-policy/2014/09/why-comcasts-JavaScript-ad-injections-threaten-security-net-neutrality/), [Verizon tracking mobile customers](https://www.eff.org/deeplinks/2014/11/verizon-x-uidh), and [spy agencies scraping Angry Birds for personal data](https://www.propublica.org/article/spy-agencies-probe-angry-birds-and-other-apps-for-personal-data).

[^2]: For example, without HTTPS, an eavesdropper would see that you were reading `ben.balter.com/2015/01/06/https-all-the-things/`. With HTTPS, all they'd see is that you made an encrypted request to `ben.balter.com`.

[^3]: Sure, a country should have the right to enforce its own social norms, but when such technical implementations are often overinclusive and trivial to bypass by even non-technical users switching protocols, DNS servers, or routing traffic through a proxy or VPN, such ends may be better accomplished by more narrowly tailored, non-technical means.

[^5]: Yeah, yeah, yeah, [I know](https://web.archive.org/web/20141027132245/https://konklone.com/post/github-pages-now-supports-https-so-use-it).
