News for hackers. Stuff that matters.
Re:Firefox Local Files Theft – Not Patched Yet by codedokode on Wednesday July 03, 2019 @09:41PM (#20350790)
> I think this also had implications on using wasm in electon

It should not. Electron runtime is not a browser and developer can tweak its security settings.

I would suggest another idea for local files: grant access to folder whose name matches HTML file name, with suffix. For example: file some-page.html and directory some-page_files.

Re:Firefox Local Files Theft – Not Patched Yet by est31 on Wednesday July 03, 2019 @10:13PM (#20350928)
> 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/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.