3 ms·
It’s more complicated than that. For the most part the browser is a secure environment due to same origin policy. JavaScript in the browser can only send and re
by austincheney 6y ago
It’s more complicated than that. For the most part the browser is a secure environment due to same origin policy. JavaScript in the browser can only send and receive from the domain from which that JavaScript is served, which means the JavaScript must come from your own domain or from a third party you trust. That trust is all from the perspective of the web server, though, which is orthogonal to the concerns of the end user.
https://en.m.wikipedia.org/wiki/Same-origin_policy https://en.m.wikipedia.org/wiki/Same-origin_policy
Browser extensions can bypass that though, which can expose you to malicious third parties.
- tyingq 6y ago"Third party you trust" is tricky though. Like what happened with Backblaze. I don't think they really intended to scarf private data and exfiltrate it. Probably just a marketing person not knowing the implications. https://news.ycombinator.com/item?id=26536019 https://news.ycombinator.com/item?id=26536019