Hi All,
I'll be the first to admit I don't know that much about cryptography, but I
was thinking about a simple licensing scheme, and wanted to know.

1. If the following idea will work.
2. Where/how can I get some more information to implement it.

<thinking out loud>
Lets say I want to create a XML License file, to product my product, which
is deployed at the customer. (I don't want any complicated solution, and I
don't want to deploy any 3rd party dlls as my licensing solution). This
license file just contains data about the customer and the product. I don't
care if people can read it, I only want to protect it from being tampered
with. So what I'm thinking of, is some type of hashing mechanism/algorithm.

Enter Strong names. Is it possible to take my private key, that I used to
sign my assemblies with, some how generate a hash (or encrypt) a Xml file.
Send that hash and the xml file to the client. Then, my component, reads the
xml file, validates the hash (or decrypts the xml file), using the public
key embedded with the signed assembly, to verify the license file is valid.
</thinking out loud>

Is there some way this can be achieved? Basically, I would like to
capitalize on the key file/strong name technology to protect my license
file.


Scott Cate
myKB.com, Inc.
6533 N. 7th Ave #26
Phoenix, AZ 85013
Tel: 480.222.myKB (6952) Ext. 103
Mob: 602.418.0770
Fax: 602.532.7941

[EMAIL PROTECTED]
www.myKB.com

This E-mail message is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized review,
use, disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply E-mail, and destroy all copies
of the original message.

===================================
This list is hosted by DevelopMentor�  http://www.develop.com
Some .NET courses you may be interested in:

NEW! Guerrilla ASP.NET, 26 Jan 2004, in Los Angeles
http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to