News for hackers. Stuff that matters.
Re:Firejail – Sandbox Linux Applications by gigel82 on Tuesday November 10, 2020 @07:44PM (#25054195)
I wish there was a tool to sandbox Windows applications; not primarily for security reasons but mostly because of the immense amount of trash left behind all over %APPDATA% and other random disk locations, the registry, etc.

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).

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

https://en.wikipedia.org/wiki/Sandboxie

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.
Re:Firejail – Sandbox Linux Applications by TheDong on Tuesday November 10, 2020 @08:04PM (#25054352)
Historically, thinapp[0] on windows has done this.

I'm not certain if it still can do this, but it used to be able to.

[0]: https://en.wikipedia.org/wiki/VMware_ThinApp