objective-ctrial

How do I store data securely with objective C? (Mac/Cocoa Dev)


I'm trying to create a Trial part of my cocoa application. I have the licensing all set up (including keys) etc.

But I was wondering how I could store e.g the first the time the user ran the program in a secure place, where the user can't easily find it and/or edit it.

I was having a fiddle with NSUserDefaults standardUserDefaults, but the user can easily find and edit that data in Library > Preferences.


Solution

  • I'd argue against making it super-secure. We once had a server activation but completely went away from it. Here are some of the reasons:

    I'm pretty sure that there are some, but extremely few, exceptions from these thoughts. I'd say: don't waste your time on registration security but give