5 ms·
CDN's also ruin HTTPS security. As a domain owner, you have to give your HTTPS private keys, and all your users private data (authentication cookies, passwords
by londons_explore 8y ago
CDN's also ruin HTTPS security.
As a domain owner, you have to give your HTTPS private keys, and all your users private data (authentication cookies, passwords, etc.) to your CDN, or you have to do a lot of careful dividing up the "static" resources from the dynamic stuff on different domains, serving them with different certs.
As a web user, some CDN's like cloudflare offer 'HTTPS', but with plain HTTP as the backhaul to the origin server. That tricks the user into thinking their connection is secure, which is, IMO, immoral.
- timc3 8y agoYou do realise they are talking about static sites with no user private data?
- cyphar 8y agoTLS provides other security properties than just confidentiality (not to mention that confidentiality can be useful even if the files are public and static), and inteionally MITMing your site will break those properties as well.
- ajnin 8y agoWhat if the static site is hosting some information banned in a specific country ? Simply accessing it might put a person at risk. I'm being very general here as you can find examples for practically anywhere.
- endorphone 8y agoTLS should be everywhere, whether private data or not. Any intermediary can be adulterating the payload otherwise, and we know that some carriers, routers, adware, etc, do.
- jedimastert 8y agoI keep forgetting that MITM attacks can work both ways. I need to keep it in the list on "why you should use HTTPS"
- gnode 8y agoWhat public data you access is in itself private data. Even if you don't care about your personal privacy, I think we should all care about the chilling effects of people not being afforded privacy to look at public information. That people can browse Wikipedia, and their ISP / government is prevented from knowing whether the article being read is about knitting or a political issue is a good thing.
- timc3 8y agoOk good point.
- chatmasta 8y agoThis is true, but how could a CDN possibly cache a response without access to it? Unfortunately it seems to be a necessity.
- teraflop 8y ago> This is true, but how could a CDN possibly cache a response without access to it? It can't, which is why it's ridiculous to say "there's no excuse not to use a CDN".
- michaelmior 8y agoCloudflare offers the option to use plain HTTP to your backend. You can use TLS between Cloudflare and the origin server if you want to. I think it's a stretch to say having that option is immoral. I can understand the concern however and it would be nice if there was at least a mechanism for making users aware of this.
- orblivion 8y agoThey give you the option of "Full (strict)" SSL. Or as I call it, "actual SSL". Snark aside, it at very least dilutes the brand of SSL to give the pretense that they're giving it to you with the default option, and give you the pretense of giving you something extra on top of it with the "full (strict)" option.
- manigandham 8y agoFull is still encrypted, just not checked to match the domain. For example, until recently many people used it to add a custom domain to sites hosted on github pages, but the connection from CF to GH was still encrypted.
- gnode 8y ago> or you have to do a lot of careful dividing up the "static" resources from the dynamic Static / dynamic is orthogonal to private / non-private. It's important to consider that what public or static information a user requests may be private for them. Consider for instance, if I go to WebMD's page on e.g. Lupus. If the static, public image on the page were pulled in from a CDN, the fact I visited that page is now leaked to a third party, for which they could infer whatever they wanted to. Or maybe sell that on, so drug companies can hit me up with targeted ads.
- Sohcahtoa82 8y ago> Or maybe sell that on, so drug companies can hit me up with targeted ads. If you're using an ad blocker, wouldn't this be irrelevant? The drug company would be wasting money buying data that will be worthless.
- gnode 8y ago> If you're using an ad blocker, wouldn't this be irrelevant? No; using an ad blocker won't prevent this kind of data collection. Ad blockers prevent you seeing ads, and some can block certain page elements associated with data collection (e.g. social media buttons), but this type of data collection is indistinguishable from the content itself. While there are still other users who don't block ads, the incentive to collect such data for targeted advertising exists, and I think it's unlikely you will be specifically excluded from the dataset on this basis. I think it's also worth bearing in mind that it's in the interest of a data vendor to inflate expectations of the relevance of the data they sell.