Re:Man who thought opening a TXT file is fine thought wrong
by hamstergene on Sunday April 04, 2021 @12:39PM
(#26690890)
Per process won’t be good enough in a different app that does legitimately need `/net`, just not when displaying file:/// links inside HTML pages.
[ Parent
| on HN ]
Re:Man who thought opening a TXT file is fine thought wrong
by boomlinde on Monday April 05, 2021 @01:46PM
(#26702109)
I disagree. Use a second process that has a limited namespace where you've mounted only the local files you want an HTML document to be able to refer to and an IPC socket marked for exclusive use. The first process resolves file links and reads file contents via IPC to the second process.