RE: Licences 101 - Copy Protection for Newbies
RE: Licences 101 - Copy Protection for Newbies
- Subject: RE: Licences 101 - Copy Protection for Newbies
- From: "Josh Ferguson" <email@hidden>
- Date: Mon, 23 Sep 2002 13:59:07 -0500
- Thread-topic: Licences 101 - Copy Protection for Newbies
Jeremy,
http://www.mythological.com/regcode/
Here's an interesting standard called RegCode that was invented for Palm/PocketPC software (this is something we support here at eSellerate). Although not directly applicable to Cocoa software, it gives you an idea on what a "standard" registration scheme consists of. There really is no complex hashing or anything like that (although you can apply as many mathematical operations as you want, including ANDs, ORs, Bitwise shifts etc). Something like this could easily be ported to your software, although it would only generate a unique registration code for each name (in other words, all people named "Josh Ferguson" would have the same registration code). In this case, you simply use the ASCII values of the letters in the user's name, perform some mathematical operation, and make sure that the code they entered matches the code that you've come up with. Hope that helps out a bit.
Josh Ferguson
You said:
>
These suggestions are sufficiently similar for me to conclude that there
>
is (up to a point) a more or less standard approach to this part of the
>
process. The problem for me is in the details. My questions:
>
1. The customers buys a key. What's the best format for this - a UUID
>
perhaps, or something based on one? How many should there be - a unique
>
one for each customer, or a handful of standard keys?
>
2. Forgive my ignorance (remember this is Licences 101), but I need some
>
guidance (perhaps some code snippets) on how to hash serials and perform
>
basic checksums etc in the validation process. Again, I'm not asking
>
anyone to offer me their crown jewels - just some snippets which you
>
wouldn't dream of including in your app but which a newbie can use to
>
learn the techniques.
>
3. The app I'm working on here is already linked to the MulleCipher
>
framework for its resource handling, so if it would help with licence
>
validation, that would be great. I'll also look into the esellerateSDK.
>
But these will probably only help once I've mastered the basics.
========================================
email@hidden // email@hidden
The Alchemy Pages:
- fractious fiction at
http://freespace.virgin.net/jeremy.dronfield
========================================
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.