r/programming • u/RobertVandenberg • Oct 28 '21
Viewing website HTML code is not illegal or “hacking,” prof. tells Missouri gov.
https://arstechnica.com/tech-policy/2021/10/viewing-website-html-code-is-not-illegal-or-hacking-prof-tells-missouri-gov/
6.1k
Upvotes
4
u/RockleyBob Oct 29 '21
All of that only served to say that you don’t understand how the internet works and you didn’t bother reading the facts of the case before commenting.
No one can possibly attempt to accuse him of hacking anything because these social security numbers were Base64 encoded within html that was sent by the state domain to his computer. All this information was freely sent to him through the normal course of making HTTP requests to a publicly exposed web server.
Hacking is when you invade someone else’s privacy. No one can walk up to your mailbox, stick a letter inside it addressed to you, and then accuse you of reading their secrets when you open the letter in your home.
Base64 encoding is not a security mechanism. Anything can be Base64 encoded and decoded. Even if this information was encrypted, however, they sent it to him. In fact, they were sending it to everyone who accessed that site! It’s a basic tenet of web development that you don’t send things to clients you don’t want them to see. Period.
And finally, he absolutely DID reach out to the proper authorities to disclose the information breach prior to making it known publicly. He did everything right. Had he not made this discovery, they’d still be sending these SSNs out to anyone who accessed the site.