• 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: licence key validation method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: licence key validation method


  • Subject: Re: licence key validation method
  • From: João Varela <email@hidden>
  • Date: Tue, 13 Jan 2015 00:42:06 +0000

Hi

I rolled out my own license scheme so that I don’t have to pay anyone. ;) I find that coding license checking methods with Cocoa and Objective-C is terribly unsafe. Objective-C has the nasty habit of exposing classes and their methods, which you can easily access/find out if you know what you are doing (otool and class-dump for starters). I do all my license checking code in C++ or just plain C, and use redundant checking in different places. Another trick I learned in a conference is to use critical variables as static variables rather than class ivars. However, my needs are probably different than yours, but all I’m saying be careful how you expose your licensing code if you are going to use objective C.

Please read this:

http://loadcode.blogspot.pt/2006/02/cracking-software-on-os-x.html

and this:

http://lifehacker.com/5736101/how-to-crack-just-about-any-mac-app-and-how-to-prevent-it

HTH

J. Varela
_______________________________________________

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: licence key validation method
      • From: 2551 <email@hidden>
    • Re: licence key validation method
      • From: Charles Srstka <email@hidden>
    • Re: licence key validation method
      • From: SevenBits <email@hidden>
  • Prev by Date: Re: Machine sleep & wake notifications in a daemon
  • Next by Date: Re: Debugging memory leak in NSURLSession with ARC
  • Previous by thread: Re: licence key validation method
  • Next by thread: Re: licence key validation method
  • Index(es):
    • Date
    • Thread