Hacker News new | ask | show | jobs
by lxgr 1 day ago
This wouldn't change the fact that the site owner gets to decide which code runs on their site, whether in your browser or on their backend. In a counterfactual world in which Javascript never became a thing, I'm sure there'd now be all kinds of horribly sketchy server-side plugins causing very similar types of problems.

In both worlds, the problem is who a site owner decides to grant access to your shopping session, not the fact that access can be granted at all. Or how would you ban them from e.g. insecurely transmitting your card data to their payment service processor on their backend? You just wouldn't see it.

1 comments

Maybe it's time to reboot. Just like "Google AMP" tried to reinvent pages that aren't slow as molasses, we could invent "secure websites" that run without JS, or only with whitelisted standard frameworks and make it a thing. Browsers would only enable payment stuff on those secure websites and display a super green icon.
Sure, but how do you avoid the problem of sites just doing the nasty insecure plugin stuff on their server side then?

If you can think of a practical way to display a cool icon if and only if a given business has good security practices, go ahead and build it – it would be worth at least billions.

"Google AMP" tried to reinvent pages with a substantial commercial advantage for Google - not pages that aren't slow as molasses.
Sure, but the pages had to be fast too, and fulfill certain requirements.