Re: Global preferences using CFPreferences
Re: Global preferences using CFPreferences
- Subject: Re: Global preferences using CFPreferences
- From: "Louis C. Sacha" <email@hidden>
- Date: Wed, 19 May 2004 23:12:40 -0700
Hello...
You could also save the serial number seperately from the rest of the
application settings, and put it (or some encrypted / machine
specific form of it) in a file somewhere in the /Users/Shared/ folder.
Louis
On 19 May 2004, at 01:29, Larry Fransson wrote:
CFPreferencesSetValue ( blah blah blah
kCFPreferencesAnyUser,
kCFPreferencesCurrentHost
);
This works fine as long as it's an admin user who's doing the
registration. But when I run the application from an regular non-admin
account, I can't change anything. What did I miss?
Well, obviously non-admin users can't run around modifying arbitrary
system-wide settings that would affect other users. That just wouldn't
make any sense in general.
Read up on the documentation of the Security framework if you want to
do this :-)
-- Finlay
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.