zlacker

[parent] [thread] 13 comments
1. taftst+(OP)[view] [source] 2026-02-03 23:34:14
I almost feel like this should just be the default action for all applications. I don't need them to escape out of a defined root. It's almost like your documents and application are effectively locked together. You have to give permissions for an app to extra data from outside of the sandbox.

Linux has this capability, of course. And it seems like MacOS prompts me a lot for "such and such application wants to access this or that". But I think it could be a lot more fine-grained, personally.

replies(2): >>joseph+R >>TiredO+kV
2. joseph+R[view] [source] 2026-02-03 23:38:39
>>taftst+(OP)
I've been arguing for this for years. There's no reason every random binary should have unfettered, invisible access to everything on my computer as if it were me.

iOS and Android both implement these security policies correctly. Why can't desktop operating systems?

replies(4): >>marky1+Z1 >>giobox+m3 >>IcyWin+cb >>BobbyT+eB
◧◩
3. marky1+Z1[view] [source] [discussion] 2026-02-03 23:43:07
>>joseph+R
Mobile platforms are entirely useless to me for exactly this reason, individual islands that don't interact to make anything more generally useful. I would never use any os that worked like that, it's for toys and disposable software only imo.
replies(2): >>joseph+xa >>okanat+6f
◧◩
4. giobox+m3[view] [source] [discussion] 2026-02-03 23:51:35
>>joseph+R
The short answer is tech debt. The major mobile OSes got to build a new third party software platform from day 0 in the late 2000s, one which focused on and enforced priorities around power consumption and application sandboxing from the getgo etc.

The most popular desktop OSes have decades of pre-existing software and APIs to support and, like a lot of old software, the debt of choices made a long time ago that are now hard/expensive to put right.

The major desktop OSes are to some degree moving in this direction now (note the ever increasing presence of security prompts when opening "things" on macOS etc etc), but absent a clean sheet approach abandoning all previous third party software like the mobile OSes got, this arguably can't happen easily over night.

◧◩◪
5. joseph+xa[view] [source] [discussion] 2026-02-04 00:33:37
>>marky1+Z1
Mobile platforms are far more secure than desktop computing software. I'd rather do internet banking on my phone than on my computer. You should too.

We can make operating systems where the islands can interact. Its just needs to be opt in instead of opt out. A bad Notepad++ update shouldn't be able to invisibly read all of thunderbird's stored emails, or add backdoors to projects I'm working on or cryptolocker my documents. At least not without my say so.

I get that permission prompts are annoying. There are some ways to do the UI aspect in a better way - like have the open file dialogue box automatically pass along permissions to the opened file. But these are the minority of cases. Most programs only need to access to their own stuff. Having an OS confirmation for the few applications that need to escape their island would be a much better default. Still allow all the software we use today, but block a great many of these attacks.

replies(1): >>jofla_+if
◧◩
6. IcyWin+cb[view] [source] [discussion] 2026-02-04 00:37:08
>>joseph+R
Windows has had this for over a decade, but no one wants to put their application in a sandbox.
replies(1): >>akdev1+9c
◧◩◪
7. akdev1+9c[view] [source] [discussion] 2026-02-04 00:44:08
>>IcyWin+cb
If a sandbox is optional then it is not really a good sandbox

naturally even flatpak on Linux suffers from this as legacy software simply doesn’t have a concept of permission models and this cannot be bolted on after the fact

replies(1): >>okanat+bd
◧◩◪◨
8. okanat+bd[view] [source] [discussion] 2026-02-04 00:50:13
>>akdev1+9c
The containers are literally the "bolting on". You need to give the illusion of the software is running under a full OS but you can actually mount the system directories as read-only.
replies(1): >>akdev1+vA
◧◩◪
9. okanat+6f[view] [source] [discussion] 2026-02-04 01:01:05
>>marky1+Z1
There is a middle ground (maybe even closer to more limited OS design principles) exist. It is not just toys. Otherwise neither UWP on Windows nor Flatpaks or Firejail would exist nor systemd would implement containerization features.

In such a scenario, you can launch your IDE from your application manager and then only give write access to specific folders for a project. The IDE's configuration files can also be stored in isolated directories. You can still access them with your file manager software or your terminal app which are "special" and need to be approved by you once (or for each update) as special. You may think "How do I even share my secrets like Git SSH keys?". Well that's why we need services like the SSH Agent or Freedesktop secret-storage-spec. Windows already has this btw as the secret vaults. They are there since at least Windows 7 maybe even Vista.

◧◩◪◨
10. jofla_+if[view] [source] [discussion] 2026-02-04 01:01:53
>>joseph+xa
Both are true, and both should be allowed to exist as they serve different purposes.

Sound engineers don't use lossy formats such as MP3 when making edits in preproduction work, as its intended for end users and would degrade quality cumulatively. In the same way someone working on software shouldn't be required to use an end-user consumption system when they are at work.

It would be unfortunate to see the nuance missed just because a system isn't 'new', it doesn't mean the system needs to be scrapped.

replies(1): >>joseph+6C
◧◩◪◨⬒
11. akdev1+vA[view] [source] [discussion] 2026-02-04 03:51:28
>>okanat+bd
and you still need to mount volumes and add all sorts of holes in the sandbox for applications to work correctly and/or be useful

try to run gimp inside a container for example, you’ll have to give access to your ~/Pictures or whatever for it to be useful

Compared to some photo editing applications on android/iOS which can work without having filesystem access by getting the file through the OS file picker

◧◩
12. BobbyT+eB[view] [source] [discussion] 2026-02-04 03:59:40
>>joseph+R
And then there’s dbus…

Damn file protection not even enough…

◧◩◪◨⬒
13. joseph+6C[view] [source] [discussion] 2026-02-04 04:08:04
>>jofla_+if
I mostly agree but ...

> In the same way someone working on software shouldn't be required to use an end-user consumption system when they are at work.

I'm worried that many software developers (including me, a lot of the time) will only enable security after exhausting all other options. So long as there's a big button labeled "Developer Mode" or "Run as Admin" which turns off all the best security features, I bet lots of software will require that to be enabled in order to work.

Apple has quite impressive frameworks for application sandboxing. Do any apps use them? Do those DAWs that sound engineers use run VST plugins in a sandbox? Or do they just dyld + call? I bet most of the time its the latter. And look at this Notepad++ attack. The attack would have been stopped dead if the update process validated digital signatures. But no, it was too hard so instead they got their users' computers hacked.

I'm a pragmatist. I want a useful, secure computing environment. Show me how to do that without annoying developers and I'm all in. But I worry that the only way a proper capability model would be used would be by going all in.

14. TiredO+kV[view] [source] 2026-02-04 07:16:56
>>taftst+(OP)
They tried. And the rent seekers made a huge noise against
[go to top]