by comex · 2w ago · 0 comments
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.
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.
Apps ask you to manage the system settings dialog only when they're requesting a very high level of system access and ship outside the app store. That describes a lot of apps that developers like to use (custom window managers etc), but not so many apps normal users will encounter.
When apps do uncover use cases that the permissions system isn't a good fit for, Apple are pretty responsive about adapting the system in backwards compatible ways. For example, AI apps wanting full disk access because they want to read the internal files of a messaging app - not ideal, so Apple have introduced a way to grant access to only specific apps from a modal popup triggered when the app tries to do it, not from the system settings app.
The way this is meant to work, by the way, is that the messaging app cooperates with the apps that want access to messages by exposing an app over XPC. AI apps are going offroad because AI companies in such a mad scramble to ship features and because of the complicated web of corporate relationships - does Meta really want to grant OpenAI access to people's WhatsApp messages on macOS or would they prefer to push users towards Meta Muse, etc. So AI apps bypass the genteel cooperative way and try to suck data out of the app's internal files directly. Apple is standing in the middle trying to mediate this stuff in a reasonable way, and I think they're doing a fine job.
Any sort of malware or malware-ish app (including software from a lot the large tech companies like Meta) will know exactly how to circumvent the protections, and exactly how to get the users consent in the process.
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.
The main reason is that it’s a simple fact-of-life that software needs to be able to interact with other software, with or without permission (e.g. part of my day-job involves LoB integrations between software vendors that either went-out-of-business, despise each other, or live on vendor lock-in and offer no export/import functionality (looking at you, Progress, Clarion, and others…) - my work would be very difficult - but not impossible I’ll admit - if it ran on
(Fwiw, I always follow PLP when creating daemons, their service-principals, and FS ACLs, I’m always amazed at how everyone else (esp. multimillion-dollar ISVs) runs their MSSQL Express instances under SYSTEM, with ‘sa’ enabled, where every install uses the exact same single hardcoded password; often with LAN router port-forwarding on 1433 for “remote support” (don’t forget TeamViewer or Splashtop too). Sorry I’m ranting but the amount of security-incompetence still rampant in the LoB software industry today is flabbergasting)