• 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: Registration Code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Registration Code


  • Subject: Re: Registration Code
  • From: Charles Srstka <email@hidden>
  • Date: Thu, 11 Nov 2004 02:10:14 -0600

On Nov 10, 2004, at 5:07 PM, Ken Victor wrote:

At 5:44 PM -0500 11/10/04, Bob Ippolito wrote:
On Nov 10, 2004, at 17:33, Ken Victor wrote:

i'm looking for a place to store the user's registration code. the following places appear as possiblities:
1) in the resources folder inside my app bundle -- but this requires modifying my app bundle and won't work if my app is on read only media


2) in a file inside ~/library/application support/ - although i'm not too concerned about piracy, this seems a little too obvious and easy for the user to find the file and send to friends

3) the above have led me to consider using NSHTTPCookie and NSHTTPCookieStorage.

is there any reason that i shouldn't use approach 3? or could anyone suggest a better place to store this information?

That's a terrible idea, if they clear their cookies from Safari they'll lose their registration code for your application!

thanx. i'm not a heavy safari user and i hadn't realized that it was so easy to remove all cookies. i've thought of using the keychain (and may yet use it), but its awfully easy for any user to extract entries from the keychain, and thus to simply email the license to another user. i was hoping i could find someplace a little less accessable.

You realize that if someone answers your question adequately, the information about what scheme you're going to use will still be publicly available on the archives of this list, and so it's pretty likely that the crackers will still know where it's stored, right?


Just store it in your preferences file, or in a file in ~/Library/Application Support. Yes, users will be able to send the preference file to another user, but it avoids inconveniencing your legitimate users. And, of course, you could encode the MAC address of the computer into the preference file somehow (not necessarily into the registration code, but into the preference file, so the user would never tell the difference unless he tried to copy the prefs to another machine) to discourage casual piracy this way. Be aware, though, that the user can still just give his regcode to another user...

Just my two cents.

Charles

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Registration Code
      • From: "M. Uli Kusterer" <email@hidden>
References: 
 >Registration Code (From: Ken Victor <email@hidden>)
 >Re: Registration Code (From: Bob Ippolito <email@hidden>)
 >Re: Registration Code (From: Ken Victor <email@hidden>)

  • Prev by Date: Re: Best way of displaying draggable file icons?
  • Next by Date: NSView & border
  • Previous by thread: Re: Registration Code
  • Next by thread: Re: Registration Code
  • Index(es):
    • Date
    • Thread