3 ms·
If you need a background process to call Node APIs because "it's the only place where it's safe to access them", what unsafe way is this meant to contrast with?
by ptx 7y ago
If you need a background process to call Node APIs because "it's the only place where it's safe to access them", what unsafe way is this meant to contrast with? Does Electron normally (but unsafely?) call Node APIs from the browser process?
- jlongster 7y agoYou can enable "node integration" with any renderer process and call node from their. But you definitely should not enable it in your primary renderer process if any untrusted code is running their (if you pull in any JS from anywhere else)
- deleted 7y ago[deleted]