Post

Replies

Boosts

Views

Activity

Can macOS verify a worker’s effective sandbox policy before it runs?
I’m building a local app on an Apple silicon Mac. Before a worker or any of its child processes can run, I need to verify the worker’s effective filesystem and network restrictions, including inherited restrictions. I need to allow that same pending launch only if the policy matches, and deny it if verification fails or times out. I reviewed Apple’s App Sandbox guidance and the Endpoint Security documentation for exec authorization and entitlement metadata. I haven’t found documentation showing that these expose the complete effective policy for the pending launch. Is there a supported public macOS API that provides this guarantee? If so, which API and macOS versions support it? If not, is this outside what the public APIs can verify?
1
0
215
6d
Can macOS verify a worker’s effective sandbox policy before it runs?
I’m building a local app on an Apple silicon Mac. Before a worker or any of its child processes can run, I need to verify the worker’s effective filesystem and network restrictions, including inherited restrictions. I need to allow that same pending launch only if the policy matches, and deny it if verification fails or times out. I reviewed Apple’s App Sandbox guidance and the Endpoint Security documentation for exec authorization and entitlement metadata. I haven’t found documentation showing that these expose the complete effective policy for the pending launch. Is there a supported public macOS API that provides this guarantee? If so, which API and macOS versions support it? If not, is this outside what the public APIs can verify?
Replies
1
Boosts
0
Views
215
Activity
6d