BetterAuthorizationSample

Last Revision:
Version 1.0, 2007-11-27
Shows the recommended way to access privileged functionality from a non-privileged application on Mac OS X.
Build Requirements:
Xcode 2.4.1
Runtime Requirements:
Mac OS X 10.4.6

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).