You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Prevent Users from Taking and Mounting Time Machine Snapshots
103
192
104
193
As was presented at [Kawaiicon 2025](https://kawaiicon.org/) by [Calum Hall](https://www.youtube.com/watch?v=hIeNuqq12sk&t=1390s), Time Machine snapshots can be used to bypass [File Access Authorization rules](https://www.youtube.com/watch?v=hIeNuqq12sk&t=1390s).
@@ -110,6 +199,18 @@ You can stop the taking of local snapshots by creating a signing ID for
110
199
'localsnapshot' in args ? BLOCKLIST : ALLOWLIST
111
200
```
112
201
202
+
<PlaygroundLink
203
+
expression={`'localsnapshot' in args ? BLOCKLIST : ALLOWLIST`}
204
+
context={`
205
+
args:
206
+
- "localsnapshot"
207
+
envs:
208
+
HOME: "/Users/admin"
209
+
euid: 0
210
+
cwd: "/Users/admin"
211
+
`}
212
+
/>
213
+
113
214
This will break taking local snapshots via the command line. Alternatively if
114
215
you need to still be able to take time machine snapshots but don't want users
115
216
to mount them locally you can stop the mount of local snapshots with a signing
@@ -120,3 +221,21 @@ ID rule `platform:com.apple.mount_apfs` with the following CEL program
0 commit comments