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 Code (“BetterAuthorizationSample.zip”, 237.1K)



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.