Secure LicenseProvider?

  • Thread starter Thread starter Ludwig
  • Start date Start date
L

Ludwig

Hi,

I have successfully tried to use my own LicenseProvider; and have
implemented licensing for a class: if the licensefile for a class
exists and a certain Guid is in it, then de class gets a Licence and
can be used by the host app.

However, it's not very secure - the Guid can be viewed by reflection
or by decompiling. Even if I encrypt it, the key can be reverse-
engineered.

Is there a secure way I can implement a LicenceProvider, or is
obfuscation the only way to somewhat protect the assembly?

Thanks!
 
Hi,

I have successfully tried to use my own LicenseProvider; and have
implemented licensing for a class: if the licensefile for a class
exists and a certain Guid is in it, then de class gets a Licence and
can be used by the host app.

However, it's not very secure - the Guid can be viewed by reflection
or by decompiling. Even if I encrypt it, the key can be reverse-
engineered.

Is there a secure way I can implement a LicenceProvider, or is
obfuscation the only way to somewhat protect the assembly?

Thanks!

Question: is it possible to encrypt a string using a private key and
decrypt it using a public key??
 
Ludwig said:
Hi,

I have successfully tried to use my own LicenseProvider; and have
implemented licensing for a class: if the licensefile for a class
exists and a certain Guid is in it, then de class gets a Licence and
can be used by the host app.

However, it's not very secure - the Guid can be viewed by reflection
or by decompiling. Even if I encrypt it, the key can be reverse-
engineered.

Is there a secure way I can implement a LicenceProvider, or is
obfuscation the only way to somewhat protect the assembly?

This might help:

http://www.codeproject.com/KB/security/xmldsiglic.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top