1
0
mirror of https://github.com/PrivSec-dev/privsec.dev synced 2024-12-22 12:51:34 -05:00

add reset TCC info

This commit is contained in:
fria 2024-11-26 06:33:50 -06:00 committed by GitHub
parent a35fa703eb
commit 601d3bc0b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -86,6 +86,18 @@ macOS has permissions that apply to all software across the system, called Trans
The Downloads, Desktop, Documents, Movies, Music, and Pictures folders for each user in particular are protected by permissions and thus are more secure than other places you might save your files. Consider using these folders for particularly sensitive data.
TCC doesn't have temporary permissions, so it can be useful to reset all premissions for an app at once. To do this, first find the app's bundle ID by running the command:
```zsh
osascript -e 'id of app "[name of app]"'
```
Reset the permissions with the command:
```zsh
sudo tccutil reset All [app.bundle.id]
```
## XProtect
XProtect is the built-in antivirus software in macOS. Like all AV, it's a last line of defense after all others have been bypassed.