logoalt Hacker News

comex • today at 5:34 AM • 3 replies • view on HN

Apple tried the first thing first. That was App Sandbox, and you can grant access to specific folders through the open dialog (or better yet, use the open/save dialog to access individual files so that no broad permissions are needed at all). But nobody adopted App Sandbox unless forced to.

Negative access is what came next, applied to all apps. By default, an unsandboxed program can access everything except specific protected directories, and can request access to those directories too, e.g. Documents, Desktop, Photos, other apps' data.

Full Disk Access is the last resort that turns all of that off. Or, well, was.

It's also the only way to access Messages, which might be why certain AI apps request it.


Replies

isjcisjciwndkwn • today at 6:45 PM

> By default, an unsandboxed program can access everything except specific protected directories, and can request access to those directories too, e.g. Documents, Desktop, Photos, other apps' data.

Not quite. Not every apps obeys this and I’m not even sure how. Adobe’s apps all insist on creating an “Adobe” folder in your iCloud-synced Documents folder regardless of file system permissions. You may deny access to every Adobe app under the sun, and they will still create those goddamned folders at launch. Apple’s solutions are not universally implemented and are most definitely not universally obeyed.

The day Apple gives me a way to simply say “fuck you Adobe, you won’t have access to my Documents folder anymore” is the day that these permission models have started to work properly, until then it’s all theatre.

semi-extrinsic • today at 9:47 AM

Powerpoint/Word on Mac will pop up a slightly confusing "grant permission to specific folder" dialog if you try to rename the file you are working on. GIMP does not, but somehow needs to be specifically given access to the clipboard, which Powerpoint has by default.

At this point, permissions on Mac is in such a broken state it does not add anything of value. It is extremely common for apps to open up dialog boxes telling you exactly where to go in system settings to grant them access. Malware is just going to do the same, and users are trained to expect it.

➕ show 1 reply
saghm • today at 3:57 PM

Isn't the entire premise of the system being discussed here is that developers are forced to use it? So then why not just force developers to use the first thing you described?

➕ show 1 reply