Author: jbonds | Posted on: 4/7/2010 2:01:51 AM | Views : 258

I need to implement per user licensing in one of my .NET web applications. The license key should contain the company name, application expiration date and the maximum number of users. At first I thought that using RSA public key encryption would be perfect for this however I am getting stuck when it comes to comparing the license key to the values.
Optimally this is what I would like to do:
1. Generate a key pair and on a yearly basis, use it to generate an encrypted license key that will be installed where the web app is deployed
2. Each time a new user is created or a user logs in, the data inside the key is somehow decrypted compared to the number of active users and the expiration date embedded in the key. The company name would also be displayed on each page of the application.
Here's where I am getting stuck.
With RSA public key crypto, you can only decrypt with the private key. No problem, I'll just keep the public key to ...

Go to the complete details ...