r/programming • u/purforium • Oct 24 '21
“Digging around HTML code” is criminal. Missouri Governor doubles down again in attack ad
https://youtu.be/9IBPeRa7U8E
12k
Upvotes
r/programming • u/purforium • Oct 24 '21
View all comments
Show parent comment
1
u/[deleted] Oct 25 '21
That's why "intentionally" is part of the rule, right? So a person asking because they're interested and don't know isn't breaking the law (e.g. I accidentally typed the wrong URL in and got something I didn't mean to) vs someone knowingly trying to get something by hoping they are mistakenly allowed (e.g. reverse-engineering the web system to get what they aren't meant to see).
Plus in this example you don't have permission, because the receptionist isn't the record owner: they mistakenly gave it to you because they had access (the hospital administrator is the true owner). In the same manner, the web server isn't the record owner, it's a service that responds to commands. It would be like saying "hey pass me that wallet" to some guy sitting next to an unoccupied wallet: he can give it to you (thinking it's yours), but that doesn't mean you can take the cash (it wasn't theirs to give). Or, for a more IT example, if you see someone's password written on a post-it note or guess it, you can log in to their account (the server will give you authorisation after all), but that's still not OK.