Re:Ask HN: Have you ever regretted working on a product?
by ashrk on Wednesday November 21, 2018 @11:54AM
(#18504015)
Yeah, you'd have to prevent JS from catching a broad set of user events at all, and disallow modification of most of the DOM by it. Again, basically restrict it to tightly-context-constrained functions to do stuff like custom sorting. There'd still be security issues with it from time to time, but they'd be bugs rather than baked-in insecurity that's part of its feature set.
[ Parent
| on HN ]
There are no comments on this comment yet.