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

Storing licence info (other than NSUserDefaults)


  • Subject: Storing licence info (other than NSUserDefaults)
  • From: Keith Blount <email@hidden>
  • Date: Sun, 30 Dec 2007 03:50:41 -0800 (PST)

Hi,

Firstly I know there have been lengthy discussions
about the best place to store licence info before, but
my question is slightly different and wasn't answered
in any of those threads.

I have a shareware application which - like many such
apps - stores its licence info (user name, serial
number) via NSUserDefaults. This works great for the
main - sure, it means unscrupulous users can just
delete this file to restart the trial, but it also
means that paying users don't have to suffer having
hidden files spread across their system.

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.

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).

Does anybody have any better solutions for this? I was
thinking of providing a way for them to define a path
to the licence file so that they could get the licence
from a network mount.

Thanks in advance for any advice and all the best,
Keith

P.S. Yes, I know it's spelled "license" in the US, but
I'm British. :)


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page.
http://www.yahoo.com/r/hs
_______________________________________________

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: Chris Hanson <email@hidden>
    • Re: Storing licence info (other than NSUserDefaults)
      • From: j o a r <email@hidden>
  • Prev by Date: Re: How to limit number of CPU cores used by a Cocoa app
  • Next by Date: Very strange problem about "setString" method of NSTextView.
  • Previous by thread: Re: cocoa bindings NSTableColumn to @allKeys?
  • Next by thread: Re: Storing licence info (other than NSUserDefaults)
  • Index(es):
    • Date
    • Thread