Sub topic 15
Reviewing app privacy permissions
This chapter assumes you can open System Settings and run a command in Terminal. It also assumes you know the difference between an app, a .dmg and a .pkg. Earlier chapters covered how an app gets onto your Mac. This one covers what the app can reach after it is running.
Why permissions are a separate layer
Code signing, notarization and Gatekeeper answer one question: is this software from an identified developer, and was it free of known malware when checked? They do not answer a second question: what should this app be allowed to see?
macOS handles the second question with a framework called TCC (Transparency, Consent and Control). When an app first tries to use a protected resource, macOS asks you. Your answer is stored per app and per resource. A legitimate, notarized app can still ask for more than it needs, so you should review what you have granted.
What is protected
The permissions live in System Settings > Privacy & Security. They fall into three groups by risk.
| Group | Examples | Why it matters |
|---|---|---|
| Personal data | Contacts, Calendars, Photos, Location Services | Exposes information about you |
| Sensors | Camera, Microphone | Captures your surroundings |
| System-wide control | Full Disk Access, Accessibility, Input Monitoring, Screen & System Audio Recording, Automation, App Management | Lets an app read other apps' data, watch you, or act for you |
The last group deserves the most scrutiny. Each one has effects beyond its name:
- Full Disk Access lets an app read protected locations such as Mail data, Messages and Safari data, which are otherwise off limits.
- Accessibility lets an app control the interface of other apps by sending clicks and keystrokes.
- Input Monitoring lets an app observe keystrokes system-wide.
- Screen & System Audio Recording lets an app capture what is displayed on screen, including other apps' windows.
- Automation lets one app send commands to another app, such as Finder or Mail.
- App Management lets an app update or delete other apps.
Many legitimate tools need some of these. A window manager needs Accessibility. A screen recorder needs Screen Recording. A password manager's browser helper may need Accessibility. A calculator needs none of them, so a request from a calculator is a warning sign.
How a request works
Categories such as Camera, Microphone, Contacts and Photos show a prompt the first time. Categories such as Full Disk Access, Accessibility and Input Monitoring do not. The app has to send you to System Settings, where you add or enable it yourself. That extra step is deliberate, because those grants are powerful.
Prompts for Desktop, Documents and Downloads, or for removable and network volumes, appear under Files and Folders. An app outside the App Sandbox can still read most of your home folder without a prompt. The prompts cover only these specific protected locations.
Reviewing permissions step by step
- Open System Settings > Privacy & Security.
- Open each category and read the list. Toggles show which apps hold the grant.
- Start with the system-wide group: Full Disk Access, Accessibility, Input Monitoring, Screen & System Audio Recording.
- For each app, ask whether you still use it and whether it needs this access for a feature you actually use.
- Turn off the toggle, or select the app and click the minus button, for anything you cannot justify.
- Check Location Services separately. It lists apps and system services, and it has a menu bar indicator option.
macOS also shows live indicators. An orange dot in the menu bar means the microphone is in use, and a green dot means the camera is in use. A purple indicator marks screen or system audio recording on recent versions. Click Control Center to see which app is responsible.
Turning a toggle off may require the app to restart. Some apps will ask for the permission again the next time they need it, which is expected.
Mac App Store apps and web downloads differ
Mac App Store apps must use the App Sandbox. The sandbox restricts an app to its own container and to resources it declares through entitlements. You can read those declarations:
codesign -d --entitlements - /Applications/Example.appLook for com.apple.security.app-sandbox and for keys such as com.apple.security.device.camera or com.apple.security.personal-information.location. The output also contains an Executable= line, which you can ignore. An app from the web is not required to be sandboxed. It can be, but many are not, so TCC prompts are the main barrier for those apps.
An entitlement is a declaration, not a grant. A sandboxed app that declares camera access still triggers the TCC prompt before it may use the camera.
Resetting permissions from the command line
The tccutil command removes saved decisions. After a reset, the app prompts again, or you must re-enable it by hand. First find the app's bundle identifier:
mdls -name kMDItemCFBundleIdentifier -r /Applications/Example.appThen reset one category for that app, or all categories:
tccutil reset Camera com.example.Example
tccutil reset All com.example.ExampleIf you omit the bundle identifier, the reset applies to every app for that category. Run it that way only when you want a clean slate.
Gotchas
- Deleting an app can leave grants behind. The TCC entry may remain keyed to the old bundle identifier. If you reinstall later, the app may silently regain its old access. Reset the permissions before or after you remove it.
- A path change does not always reset a grant. macOS associates a grant with the app's code signature requirement. A re-signed or modified app can lose its grants and ask again. A changed Team ID from an update is a reason to check the developer before approving.
- Screen recording grants may expire. Recent macOS versions periodically ask you to confirm that an app may keep recording the screen. Treat each reminder as an audit prompt, not an annoyance.
- Managed Macs differ. A company device can pre-approve some permissions through a configuration profile. Those grants may not be changeable by you.
- Do not grant access to make an error go away. A web page or installer that tells you to enable Full Disk Access to continue, with no feature that needs it, matches the warning signs from earlier chapters.
Exercise
You installed a screenshot tool from a developer's website. It captures only a selected region, but you notice it holds Full Disk Access and Input Monitoring. What should you do, and why?
Show answer
Turn off both grants, then use the tool again. A region screenshot tool needs Screen & System Audio Recording at most, and it needs neither Full Disk Access nor Input Monitoring. If the tool keeps working, the grants were unnecessary. If it keeps demanding them, check the developer and consider replacing the tool. You can also run tccutil reset on the app's bundle identifier to clear all its saved decisions.
Exercise
A Mac App Store app lists com.apple.security.device.camera in its entitlements. Can it use the camera without asking you? Explain.
Show answer
No. The entitlement only allows the sandboxed app to request camera access. macOS still shows the TCC prompt on first use, and the camera stays unavailable until you choose Allow.
Exercise
Write the commands to find the bundle identifier of /Applications/Example.app and reset only its Microphone permission.
Show answer
mdls -name kMDItemCFBundleIdentifier -r /Applications/Example.app prints the identifier, for example com.example.Example. Then run tccutil reset Microphone com.example.Example.