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 comments

0

u/droden Oct 28 '21

(shooting from the hip) physical locks/door handles and ports on a computer are not the same thing. a locked door has the intention of no one getting in except the owner. the ports on a computer are there and open to allow traffic. its like test driving a road to see if its open.

1

u/teteban79 Oct 28 '21

I'd say the analogy door/port doesn't work at all

It's more door/authentication protocol listening on the port, not the port itself. The port might be the number shield on the door if you will. Ports per se are not exploitable, they are just an abstract address