3 ms·
> and with Electron it runs as me, the user, not inside a browser sandbox You could actually not use any external modules in your main process and have the ren
by fabiospampinato 8y ago
> and with Electron it runs as me, the user, not inside a browser sandbox
You could actually not use any external modules in your main process and have the renderer process sandboxed [1], node integration [2] can be disabled too.
[1] https://electronjs.org/docs/api/sandbox-option https://electronjs.org/docs/api/sandbox-option
[2] https://electronjs.org/docs/faq#i-can-not-use-jqueryrequirejsmeteorangularjs-in-electron https://electronjs.org/docs/faq#i-can-not-use-jqueryrequirej...
- munchbunny 8y agoThanks for bringing this up, I wasn't aware of the option. This changes how I look at the trade-offs of using Electron. Unfortunately, that only covers the rendering code, and it still backtracks a lot of the reason putting JS into a native environment is convenient in the first place. But it's a lot better than the "nothing at all" I thought it was before.