• 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: Storing licence info (other than NSUserDefaults)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Storing licence info (other than NSUserDefaults)


  • Subject: Re: Storing licence info (other than NSUserDefaults)
  • From: j o a r <email@hidden>
  • Date: Sun, 30 Dec 2007 12:23:55 -0800


On Dec 30, 2007, at 3:50 AM, Keith Blount wrote:

I want to keep this as the standard place for the
licence. However, a university has just bought 70
licences for their English department, and in this
situation the user defaults solution doesn't work
well, given that all of their staff and students have
different accounts, so they would need the licence
multiple times on every machine.


Check the CFPreferences API for a way to access shared preferences.


One solution would be first to check for the licence
info in /Library/Application Support before defaulting
to the standard ~/Library/Preferences. This would mean
installing the licence on all 70 machines
individually, still, though (but at least it wouldn't
entail doing so for each individual user).


One way to do it would be to make sure that all computers mount a shared volume at something like:

	/Network/Library

...and then use the CFPreferences APIs to access a shared preference file.

There are several reasons why this might not be an acceptable solution:

* Adding such a mount point would require additional configuration on their part, and
* It probably wouldn't work all that well for laptop users


That said, in some cases - Like in a lab setup - it could be made to work, and would allow you to provide generic support for shared licenses.

j o a r


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Storing licence info (other than NSUserDefaults)
      • From: Stefan <email@hidden>
References: 
 >Storing licence info (other than NSUserDefaults) (From: Keith Blount <email@hidden>)

  • Prev by Date: Re: Very strange problem about "setString" method of NSTextView.
  • Next by Date: Re: Very strange problem about "setString" method of NSTextView.
  • Previous by thread: Storing licence info (other than NSUserDefaults)
  • Next by thread: Re: Storing licence info (other than NSUserDefaults)
  • Index(es):
    • Date
    • Thread