Hacker News new | ask | show | jobs
by coldtea 23 days ago
>Every piece of data on your computer that is owned by your user is available to any other app you run as your user.

That not being the case is the whole purpose of the per-app sandboxes which macOS has along with TCC. We're not discussing plain Unix permissions alone.

1 comments

Ok, and the data is in a location that you need to grant full disk access to an application in order to access it. So what is the complaint here? Is it that if you run an application and give it access to the data that it has access to the data?
Isn't it obvious? It's that the per app permission for this folder shouldn't fucking be "whatever your OS user can access" or "full disk access" but either fine grained at the folder level - just like "documents" folder has.

If an app needs to read the local social graph it should ask for a permission to THAT folder (or a slightly more general "read social graph data", like we have "read Reminders data"). Not bloddy full disk access or bust.

Sure, I guess they could add the additional lower level directory permission, but to what end? This is data that is clearly not intended to be consumed directly by other applications, just specific services the OS provides and presumably sandboxed/filtered through the OS's internal APIs for accessing anything built off of this data.
>Sure, I guess they could add the additional lower level directory permission, but to what end?

To the end that apps read only the data you allow them to, not coarse grained all or nothing.

>This is data that is clearly not intended to be consumed directly by other applications, just specific services the OS provides and presumably sandboxed/filtered through the OS's internal APIs for accessing anything built off of this data.

But that's exactly the problem. That "this is data that is clearly not intended to be consumed directly by other applications, just specific services the OS provides" and yet it is allowed to be read by any application that gets "full disk access".

What you state as already the case is precisely what I want them to fix: that it's, as of now, NOT "sandboxed/filtered through the OS's internal APIs for accessing anything built off of this data".

> But that's exactly the problem. That "this is data that is clearly not intended to be consumed directly by other applications, just specific services the OS provides" and yet it is allowed to be read by any application that gets "full disk access".

I am still unclear what you’re wanting. You’re saying you want a more specific permission like the “Documents” and “Downloads” sandbox permissions, but “Full Disk Access” supersedes those more granular permissions, so any app with “Full Disk Access” automatically has “Documents” and “Downloads” and those other specific permissions. Since this data isn’t intended to be read by other applications, adding a permission to allow other applications to read the data without giving them “Full Disk Access” doesn’t serve a purpose (at least from Apples perspective, any given developer like Meta might want to have direct access to the data).

So are you saying you want an even higher level permission that overrides even “Full Disk Access” and can block access to this data from apps with “Full Disk Access”? Are you saying you want Apple to re-work the entire file permissions scheme into something a lot more granular and with more abilities to sandbox applications to only specific directories à la modern Android file access APIs? Are you saying you want the full disk access permission to just go away as an option for apps? Are you saying you want this data in the Secure Enclave and inaccessible to any application no matter the security settings?