Hacker News new | ask | show | jobs
by derf_ 22 days ago
> I can tell you for certain that when I was connecting to my own website, there was no attacker trying to "steal my credit card."

Of course, no one can actually be certain of this, because any MITM could have injected anything they wanted into the website, including something asking for your credit card (which they would then steal). Plain http is commonly MITM'd to inject tracking and ads, even on an ISP you pay for with money, and has been for decades at this point.

Just because you own the website does not mean you get to choose the threat model your visitors have to operate under.

2 comments

Does this threat model include knowing where to put credit card numbers and when to refrain from doing so?

If you posted your credit card number to someone's blog over HTTPS, is that any more secure?

Yes, since the set of people who can mitm/steal it is strictly smaller.

Blog operator Vs blog operator + network operator.

It's still not 100% secure.

My point was that if it's a website that doesn't take payments or any personal info then it doesn't really matter if it's HTTPS or not; not that TLS or HTTPS has no use case in absolute.

I guess a better way to rephrase would be, if you go to a random GitHub issue and post your credit card number + details publicly, would it matter if you posted them over HTTP or HTTPS?

Payement is only one of the reason why encryption is important: most people don't want their ISP to know what kind of porn they watch, for instance.
It's not just about the information you supply. You can find accounts of hotel wifi services injecting ads into pages loaded over insecure connections. A MitM lets you inject content including arbitrary malicious JS. With ad networks being what they are, that might already have happened with those injected ads.
why would tom 7 ask you for your credit card number?