• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Global preferences using CFPreferences
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Global preferences using CFPreferences (From: Larry Fransson <email@hidden>)
 >Re: Global preferences using CFPreferences (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: Re: openURL: and fragments
  • Next by Date: Re: Subclassing NSArrayController arrangeObjects
  • Previous by thread: Re: Global preferences using CFPreferences
  • Next by thread: How to launch Bluetooth File Exchange in Browse mode
  • Index(es):
    • Date
    • Thread