Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to manage license and activation key for products ?

 
Amar Jha
Greenhorn
Posts: 2
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have to generate license key or activation key for the product that I am working on . License key will work as below:

1) When customer will download and install product. It will use that license key to activate the product.
2) It might be possible that customer dont want to use a particular module so he wont purchase it. License key for that customer will not activate that functionality.
3) Customer should not be able to copy product and reuse it with same license key. Licence key should be used once.

This is new to me. I am doing research on google. I think there must be some existing tutorial or applications to manage this. Please suggest some pointers or help.

Thanks
Amar
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For something like this, like for most security stuff, I recommend to use something existing rather than roll your own- the chances you will build a secure solution are small (with all due respect). Search the Java FAQ here for "licensing", and you'll find several commercial solutions.
 
Amar Jha
Greenhorn
Posts: 2
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ulf, Yes you are correct. Its better to use existing products for this purpose. I found 3 on internet JLicense , License4J and TrueLicense. I am evaluating these.

I think JLicense will serve my purpose. It provides APIs which can be customise if required. So some hands on exposure to how licensing can be done. Will post my final findings.



 
joner Jone Arley
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For License4J: You can use license activation to implement a trial license implementation. Activated license will have only defined modules, and of course will be bound to a hardware id to protect license. Here http://www.license4j.com/documents/license-manager-gui/ in license activation part.

License4J has also a quick start integration page http://www.license4j.com/documents/quick-start-integration/
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!