Storing licence info (other than NSUserDefaults)
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