▲ | amluto 8 hours ago | |||||||
The whole “server facing the Internet” attack model is real, but it’s rather out of date. Especially if you’re a programmer, the software on your machine is likely to try to attack you. In any case, the right solution for saving files from Thunderbird has been known for years: “portals” or whatever a particular sandbox system calls it. The sandboxed code in Thunderbird asks more privileged code to pop up a file chooser, and Thunderbird gets to save the chosen file. Zero friction and excellent security. Sadly, no one has gotten the whole ecosystem to play along. Android has supported this for years and app developers complain and refuse to use the correct API. iOS apps barely support files. I think Flatpak can do this, but almost no one does it. | ||||||||
▲ | ptsneves 7 hours ago | parent | next [-] | |||||||
Thanks for answering. The threat model for a programmer is likely much more complicated than for a regular user, but not related to sandboxing. Regarding the "server facing the internet is real", I am not sure I get your point. Could you elaborate? The point you make about portals and how the support exists but neither Flatpack/IOS or Android ecosystems get it right is very revealing: when nobody gets it right then it likely means the design is broken. Even Fuscia failed and it was an OS built from scratch to focus on userspace isolation and contracts for IPC and syscall. Anyway it is very unfair to the users when designs supplant existing ones breaking things that used to work. Again we are talking about very basic computer usage patterns that have existed for several decades. | ||||||||
| ||||||||
▲ | yencabulator 3 hours ago | parent | prev [-] | |||||||
> I think Flatpak can do this, but almost no one does it. Flatpak can do it poorly. What I see is opening a file for read once gives the sandboxed app write access to that path name forever. |