Version: 1.0

Posted: 2007-11-27

Build Requirements: Xcode 2.4.1

Runtime Requirements: Mac OS X 10.4.6

View Source Code:

Download Sample (“BetterAuthorizationSample.zip”, 237.1K)
Download Sample (“BetterAuthorizationSample.dmg”, 319.3K)



Description

BetterAuthorizationSample shows the recommended way to access privileged functionality from a non-privileged application on Mac OS X. This involves putting the privileged code into a small, privileged helper tool that is run by launchd. Apple recommends this approach because it is more secure than previously documented approaches (such as using a setuid root helper tool).

Document Revision History

Date Notes
2007-11-27Shows the recommended way to access privileged functionality from a non-privileged application on Mac OS X.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.