3 ms·
It’s a problem with security across computing in general, not just JS. For example, what are these languages and runtimes you have in mind that solve this issue
by hombre_fatal 3y ago
It’s a problem with security across computing in general, not just JS. For example, what are these languages and runtimes you have in mind that solve this issue with app plugins if VS Code were using them instead?
- andrewmcwatters 3y agoIn other languages, it's possible to set environments where code run from that environment have restricted access to explicitly defined globals. You can do this to create things like plugin systems, etc, where you know by specification you never want a context to have access to say, making HTTP requests.
- hombre_fatal 3y agoOut of curiosity, which languages?
- andrewmcwatters 3y agoLua comes to mind first, with `setenv`, other languages have similar functionality. I believe this can be done with C#, too.