Remix.run Logo
▲ If an App Asks for Full Disk Access or System and App Protection Override(support.apple.com)
91 points by jshier 5 hours ago | 50 comments
▲gbdubs 2 hours ago | parent | next [-]

This is a very poorly conceived API. If developers' use cases don't fit cleanly into Apple's (narrow) idea about how a hypothetical app should work, developers will continue to feel like they need to request these expansive permissions. A good filesystem permission API could include any of these which would make users WAY safer and enable developers to request far smaller scopes:

- Allow the developer to specify the common location(s) that they need access to. Rather than having to have the user select the folder they want to grant access to, have the developer say "this app uses data in these 5 folders, do you want to grant that access" - so much clearer, and useful in cases where an app has to integrate with other apps through the filesystem. - Readonly access. Allow an app to read your files but prevent writes or deletes. - Time limited access. Allow some kind of access and allow the user to auto-expire it rather than having to remember it exists. - Allow for negative access (i.e. allow labels or tags on directories to mark them as sensitive and prevent access by default - browsers could do this for their cookie stores, `~/.ssh` could ship with it as a default, etc.)

Apple could have used this opportunity to think through the question of "why do developers ask for filesystem access, and how can we allow legitimate usage through well scoped access controls", but instead they built a bad API that will (I would guess) not actually allow developers to be more judicious or achieve any of the user-safety benefits.

Apple needs to learn to talk to (and listen to) developers.

▲simondotau 2 hours ago | parent | next [-]

Developers are important, but Apple understands that it must ultimately prioritise non-technical end users as their highest priority. Apple's approach puts control in users' hands rather than allowing developers to define the scope of access. Moving from Full Disk Access to user-selected folders is a significant security improvement, even if the API doesn't accommodate every developer use case.

It's also critical to recognise that data exfiltration is just as serious a risk as data manipulation. Read-only access doesn't prevent data theft, and time-limited access can't undo it.

▲geocar 2 hours ago | parent | prev | next [-]

> This is a very poorly conceived API.

However users are very happy with it.

> developers will continue to feel like they need to request these expansive permissions

And users will continue to seek alternatives, or risk denying said permission.

I don't use any apps that require this permission, and would never use any app that required this permission without an extremely good explanation of why it was needed.

Until that happens, no.

> Allow the developer to specify the common location(s) that they need access to.

Why not just back up: How does the developer know the location. What's common about it?

I'm so not sure they need access to anything yet.

I use Spotify, Slack, Zoom, and WhatsApp: All of them have asked for it, but they all seem to work fine if I deny them access to full-disk access. So I am confident your issue is a non-issue for me and millions of people like me.

I don't have any apps that need this, so I do not want you to blow past this so quickly with the prior that just because you are a developer who has a use case that requires this, it is still my computer and you don't get any time on it while you're asking for this.

> Readonly access. Allow an app to read your files but prevent writes or deletes

Again: Absolutely not. There are no files I want your app to have access to without an explanation.

> Allow for negative access (i.e. allow labels or tags on directories to mark them as sensitive and prevent access by default - browsers could do this for their cookie stores, `~/.ssh` could ship with it as a default, etc.)

I know Linux works this way, and it only ever works for stuff that the integrator ships (i.e. on Red Hat, they are called seLinux labels), so it's not something that independent publishers have ever done, and to my knowledge, despite it being so easy, not one independent developer has ever used them in the way you say, despite such a thing being possible for more than 25 years.

> Apple needs to learn to talk to (and listen to) developers.

That sounds like your opinion. I think developers need to explain better what they actually want and why.

You have what you ask for on other platforms, so I think if your ideas were so right you would have simply ignored Apple, so I think Apple doesn't need to do shit for you, and you have some explaining to do.

▲comex 2 hours ago | parent | prev | next [-]

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.

▲noduerme 2 hours ago | parent | prev | next [-]

I disagree, because I think the default should be no access, then manually checking those folders and whether there may be something in them that you don't want the app to access. How many git repos contain secrets, that you may want to exclude? If you get a popup saying an app wants access to an entire branch of your filesystem, it shouldn't be easy to approve that with a single click, without granularly checking what's in there beforehand.

Many apps already work this way and request access to a single directory, and the best apps (little snitch, arq) give you fine control over what is accessible for what actions.

▲duskwuff 2 hours ago | parent | prev [-]

> Allow for negative access (i.e. allow labels or tags on directories to mark them as sensitive and prevent access by default

Apple has already taken some (manual) steps in this direction - certain directories under ~/Library/Application Support are inaccessible to other applications without "full disk access". In particular, web browsers and Discord have this protection applied - this is to thwart some common types of session-stealing malware.

https://wojciechregula.blog/post/golden-gate-appdata-protect...

▲postalcoder 4 hours ago | parent | prev | next [-]

This is a good thing. There are too many apps that request full disk access despite not needing it.

I counted 44* applications on my mac that ask for FDA. I've only granted it to 8. The other apps work just fine without it. (Some apps that ask for full disk access: Anki, a flashcard app and Soulver, a calculator app – cmon now)

This change is less about bureaucracy and more requiring developers to be more clear why it needs the permissions it does.

*edit: originally said 56

▲solyin 4 hours ago | parent [-]

44? What are you going around and doing‽

Mine are a raspberry pi image flasher, Alfred, my backup software, and ghostty.

(Not saying you're computing wrong, I'm interested in your computer experience, it's just different from mine)

▲postalcoder 3 hours ago | parent [-]

The requesting apps are broken evenly into these categories:

  - coding agents
  - dev tools
  - browsers and extensions
  - file utilities
  - automation apps
  - media
I think it's less that i'm doing anything egregious and more that the full disk access permissions model has been broken lol.
▲MBCook 3 hours ago | parent [-]

I think a lot of apps do it just to avoid all the different prompts. It’s probably easier to get the average person to say yes to that than to have to go through each one over time.

Can I see your documents? Your downloads? Your home folder? Your desktop?

And it’s not like they all happen at once. Every time you go to open a file, it randomly asks you if it’s somewhere they haven’t done it before. Maybe because they’re not using the system open save dialogue, which automatically grants access to that one file.

I like that macOS has these facilities. But the existing dichotomy of all or nothing + 30 prompts just didn’t work well.

▲curveaway an hour ago | parent [-]

That model is still fairly broken, you can ask for all of the specific perms and there is still a ton of stuff that isn't covered and requires full disk access. So even if you want to use all the prompts when needed at time of action, you still cannot as a dev.

▲vbezhenar 4 hours ago | parent | prev | next [-]

For me more important would be to exclude specific folders from that full disk access (like ~/.ssh), rather than selecting one directory.

For example I've used Daisy Disk app to visualize directory size. It's best used with full disk access. But I know that my `.ssh` is tiny and I'd prefer for this app not to be able to access it at all.

▲vsgherzi 4 hours ago | parent | prev | next [-]

This seems like a fine change? I don’t quite understand what the pushback is could someone spell it out for me?

▲MBCook 3 hours ago | parent | next [-]

The only complaint I’ve seen is that the full disk access dialog is scary.

Well ok? Full disk access is EVERYTHING. Keys to the kingdom. If it’s not encrypted (and some of Apple’s stuff isn’t that should be) then apps that have the permission can anything.

Before that wasn’t the worst thing in the world, most apps didn’t care. But now we have LLMs. And suddenly people are realizing just how creepy full disk access really is.

So I agree. This is a great change.

▲Gigachad 3 hours ago | parent | prev [-]

This whole conflict came up because AI companies wanted full disk access so they could go wild on your computer without having to prompt the user for permission.

So it’s Apple who wants to minimise risk and protect the users personal data vs AI companies and enthusiasts who want to let Claude rip on their computer.

▲comex 2 hours ago | parent [-]

I have Claude and ChatGPT's desktop apps installed and neither has asked me for Full Disk Access. It's Meta whose AI app was, at least allegedly, directing users to enable Full Disk Access in order to access the Messages app.

To be fair, there is/was no way to request access to Messages specifically. And Claude and ChatGPT do both have Messages connectors, but you have to go out of your way to search for them. Presumably the AI itself will also tell you about Full Disk Access if you ask for something that requires it.

(Also, both of those apps do promote 'computer use', i.e. letting the AI remote-desktop your computer, which effectively grants full system control anyway. But at least in that case it's more obvious to the user what's going on.)

▲dofm 4 hours ago | parent | prev | next [-]

Freaking finally!

This looks really well-implemented, considering the complexity of explaining all of this to users.

▲Elseself 3 hours ago | parent | prev | next [-]

Why isn't this a filesystem-level permission yet? Like being able to set file and folder access for specific apps like we do for user accounts.

For example I could set my "Top Secret Ideas" folder to "Deny" for "All Apps" but "Read & Write" for Finder and my Markdown editor.

The tricky part would be how to assign IDs or "accounts" for apps and what to do when an app gets updated..

▲Gigachad 3 hours ago | parent | next [-]

This is kind of how macOS works and has been trending. It’s why you see prompts when apps try to access files in documents or downloads. But full disk access sidesteps that permissions system.

▲saagarjha 3 hours ago | parent | prev [-]

> The tricky part would be how to assign IDs or "accounts" for apps and what to do when an app gets updated..

Apple has the infrastructure to handle this already

▲saagarjha 4 hours ago | parent | prev | next [-]

> Apps that might ask for Full Disk Access or System & App Protection Override include backup apps, disk cleaners, file indexers, security apps, and others.

This is not what Full Disk Access was designed for. Not a huge fan of Apple misrepresenting what permissions do so they can pretend like their policies are consistent and not a kneejerk reaction to what’s going on in the world.

▲liuliu 4 hours ago | parent | next [-]

Can you be more specific and educate me / others in this thread what they were designed for? That clarification helps a ton!

▲saagarjha 4 hours ago | parent [-]

Accessing your files? The first thing people put there is their terminal app.

▲Gigachad 3 hours ago | parent | next [-]

You can access files without full disk access. This is why macOS prompts if you want to allow programs to access your documents folder.

Full disk access is for when you need to make a full disk clone or scan.

▲anon373839 2 hours ago | parent [-]

I find these permission prompts confusing and maddening, even. Are you saying "access my documents folder" is supposed to mean "grant permission to write any files on my disk"? And if so, what is full disk access supposed to mean? The prompts are all vague and vaguely menacing. I miss when a computer was a computer and not pretending to be a phone.

▲comex 2 hours ago | parent | next [-]

You misunderstood the parent post. Prompting for the documents folder is one way that "[y]ou can access files without full disk access". With full disk access, you get almost everything.

Though not quite everything. For truly full disk access you need to disable SIP.

▲anon373839 35 minutes ago | parent [-]

Yes, sorry. I did misread that. I thought they were saying there is now an "Allow access to ~/Documents?" prompt that stands for full disk access. I didn't remember seeing anything like that and I know it sounds ridiculous, but I guess it shows how low my expectations are for MacOS lately.

▲what 2 hours ago | parent | prev [-]

> Are you saying "access my documents folder" is supposed to mean "grant permission to write any files on my disk"?

No? That pretty clearly means read/write any file in your “documents” folder (or whatever folder you selected.

▲geocar an hour ago | parent | prev | next [-]

I absolutely do not. I use the terminal without full disk access.

It doesn't stop me from accessing any of my files at all.

What are you doing and why?

▲saagarjha an hour ago | parent [-]

Running tmutil? Pulling an email from the mail database?

▲thatfrenchguy 4 hours ago | parent | prev | next [-]

You don’t need full disk access for terminal.app though

▲chii 2 hours ago | parent | next [-]

surely you need it because doing anything other than just listing your home directory would require more access?

Like installing homebrew stuff.

▲rolosa 2 hours ago | parent | prev | next [-]

ls -l / or even ls -la ~ (because of ~/Library) pops up a request for full disk access.

▲geocar an hour ago | parent [-]

> ls -l / or even ls -la ~ (because of ~/Library) pops up a request for full disk access.

I just tried all of these on GG 27.2.1: No it does not.

▲saagarjha 3 hours ago | parent | prev [-]

And yet it is widely granted

▲what 3 hours ago | parent | prev [-]

> > Apps that might ask for Full Disk Access or System & App Protection Override include backup apps, disk cleaners, file indexers, security apps, and others.

> This is not what Full Disk Access was designed for

Can you explain why an app for backups or indexing don’t need access to your files? I’m really confused what you’re trying to say?

▲saagarjha 3 hours ago | parent [-]

I'm saying that Apple is intentionally picking a limited set of uses that they claim the API is for. Obviously the other options are valid use cases (although most backup apps do not use full disk access in this way, because even with that you miss some data that makes it difficult to restore the machine from).

▲duskwuff an hour ago | parent [-]

The page we're looking at is end-user documentation, not policy. Apple is intentionally picking a set of use cases which nontechnical users (the primary targets of the documentation!) are likely to recognize and understand - e.g. "oh, yeah, a disk cleanup utility would need to be able to look at everything to clean it up, wouldn't it". Weird examples like "developer tools" aren't helpful to those users, and would just make the page more confusing.

▲em-bee 4 hours ago | parent | prev [-]

what was it designed for then?

▲saagarjha 4 hours ago | parent [-]

It might be interesting to take a peek at what Apple is using it for, or namely, what exemptions Apple gives themselves. Is Safari a backup app or file indexer? Why does it get to bypass the protections, hmm? (Hint: it has access to your Firefox and Chrome folders.)

▲khazhoux 3 hours ago | parent [-]

You didn’t answer the question.

What apps was it actually designed for, that you say Apple is misrepresenting?

▲saagarjha 3 hours ago | parent [-]

It's clearly designed to make Terminal work

▲geocar an hour ago | parent | next [-]

It is not. You said this elsewhere, but it's not true.

https://news.ycombinator.com/item?id=50526560#50528036

▲Liuser 2 hours ago | parent | prev [-]

Is your issue with Apple not including Terminal and their own apps as examples? I still don’t get what’s wrong with the examples they gave for software needing full disk access.

▲saagarjha 2 hours ago | parent [-]

Yes, because the reason they're doing this is that a bunch of apps are doing things they don't like. They are documenting a bunch of milquetoast usages of this API to draw the line as "if you're not doing this, you are abusing the APIs" when in fact the APIs are used by plenty of other things that they don't really want to talk about, because it makes it less easy to claim that this is some weird rare permission for specialized apps.

▲dmitrygr 4 hours ago | parent | prev | next [-]

This is great! I loved when iOS let me expose only a subset of my contacts list to whatsapp (and, this is important: banned facebook from retaliating) -- the subset it already knows, and this is another good step in the right direction. I trust precisely 0% of apps with my private data, and apple making it easier to limit exposure is good!

▲scotty79 20 minutes ago | parent | prev | next [-]

Something like that should be a part of any permission system from the start. "The app needs your location." "Sure, give it a fake location, becuase I don't think it deserves my real one."

This app wants to access you name and email address. Sure give it a burner one because I don't think it should have my real one.

This app wants access to your photos. Here give it access to the ones I selected as if they were my whole gallery if it insists on that.

▲kylehotchkiss 3 hours ago | parent | prev | next [-]

I'm clearing out my "full disk access" list when this lands and re-granting them all!

▲rvz 2 hours ago | parent [-]

Good idea, will do the exact same immediately.

▲jshier 5 hours ago | parent | prev [-]

... on your Mac. New Apple support document about the upcoming full disk access changes.