7 ms·
> It should not. Electron runtime is not a browser and developer can tweak its security settings. Yes, that's what I meant. Sure you can override chromium, but
by est31 7y ago
> It should not. Electron runtime is not a browser and developer can tweak its security settings.
Yes, that's what I meant. Sure you can override chromium, but you have to. https://github.com/adamvoss/electron-webassembly-hello/commit/0c62e5b69f65fd6ba0dabd4bf9dc4b9c9bfc6dfb https://github.com/adamvoss/electron-webassembly-hello/commi...
> I would suggest another idea for local files: grant access to folder whose name matches HTML file name, with suffix.
That would certainly help. It would restrict some multi-html-file projects a bit though that use shared resources. Probably can be helped by having a folder named html-fetchable-files or something.