• 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: Bob Ippolito <email@hidden>
  • Date: Wed, 10 Nov 2004 17:44:57 -0500


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!


If you want to hide it somewhere, what about the Keychain?

-bob

_______________________________________________
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: Ken Victor <email@hidden>
References: 
 >Registration Code (From: Ken Victor <email@hidden>)

  • Prev by Date: Re: Right aligned image in text table cell
  • Next by Date: OT: Bug in IB
  • Previous by thread: Re: Registration Code
  • Next by thread: Re: Registration Code
  • Index(es):
    • Date
    • Thread