Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Relevant replacement documents include:
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).
Copyright © 2007 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2007-11-27