Re:Firejail – Sandbox Linux Applications
by ubercow13 on Tuesday November 10, 2020 @08:14PM
(#25054419)
Have you looked at Sandboxie? I'm not sure what the best-maintained version is since it went open-source so I'll just point to Wikipedia
Re:Firejail – Sandbox Linux Applications
by CodeHz on Tuesday November 10, 2020 @11:38PM
(#25055535)
I think we can achieve this through windows container(not docker, it won't support interactive GUI application), by using process isolation, most api have been implemented in container.dll(see the exported functions table!), but it is undocumented...
There's some demos that using this API
https://github.com/microsoft/BuildXL/blob/master/Public/Src/...
Re:Firejail – Sandbox Linux Applications
by gigel82 on Tuesday November 10, 2020 @11:58PM
(#25055623)
That looks interesting, but ideally it would be something that works with multiple processes. Imagine opening a command prompt, launching vscode from it and doing a yarn/npm/nuget/pip install; this craps thousands of files for various "caches" and unconfigurable "install roots" and so on.
I think a light-weight Docker for Windows would be great for this actually, but even a simple solution that builds on top of container.dll (or similar technology) to virtualize the file system would be very welcome.
I wish I could start a command line (terminal) that will virtualize the file system in a "workspace" such that any crap that would otherwise pollute my system drive ends up in a neat box on my "work" drive (I know there's a Windows Sandbox thing but that explicitly deletes everything on close, whereas I'd want to go back into that workspace later to continue work on the project).