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.
CFPrefTopScores
Last Revision: | Version 1.0, 2006-10-09 How to access globally shared (writable) user preferences without requiring authentication. |
Build Requirements: | XCode |
Runtime Requirements: | Carbon mach-o |
CFPreferences by design only allows write access to the kCFPreferencesAnyUser domain by a user with admin privileges. But occasionally developers have had the need to store user preferences that are both readable and writable by all users (without authorization). Currently the only location that meets this requirement is the </Users/Shared> directory. This sample demonstrates how to use Core Foundation API's to access (globally readable and writable) preferences in this location.
Copyright © 2006 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2006-10-09