An unofficial, read-only Hacker News reader. Join the beta →

2035 came early (opens external site)

1035 points by setheron 4 days ago | fzakaria.com | 382 comments on HN

View full thread · View on Hacker News

Comment thread (2)

  1. Most browsers support (maybe with an extension) running JS only from sites you have decided to trust.
    Replies (1)
    1. That's quite different than restricting the execution of code that you've decided to trust. Control over a given domain name, a given server, or a given http response payload, is perpetually up for grabs in ways that just don't apply to software packages whose contents are identified by cryptographic hash.

      The attack surface for code served over the web at runtime is unnecessarily large, even if you've allow-listed the originating domain name. Also, it puts too much power in the hands of whoever controls that name, and power corrupts. People who are trustworthy today, will start selling their users out tomorrow.