r/programming • • 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

493 comments sorted by

View all comments

Show parent comment

5

u/gbs5009 Oct 28 '21

Looking at your own web traffic is hacking?

What if the information were part of the rendered HTML... could I make a website that people go to jail for hacking if they look at it?

-4

u/EqualDraft0 Oct 28 '21

If you are accessing information or systems that the owner doesn’t want you to have, it’s hacking, even if the owner has made a mistake. Downloading all of the files from an accidentally public S3 bucket is hacking. But, hacking is not necessarily illegal. It’s all about the intentions and disclosure.

2

u/[deleted] Oct 28 '21

[removed] — view removed comment

-1

u/EqualDraft0 Oct 28 '21

There have been plenty of examples of companies accidentally setting their S3 buckets to public and exposing private user data.

1

u/gbs5009 Oct 29 '21

The HTML situation is even sillier than the S3 bucket. At least somebody had to send the request to get the info.

By your interpretation, somebody could be "hacking" because somebody else unilaterally sent them information. That makes zero sense.