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.