We have an online application which we would like to protect access to it with a Serial or License key
We need to generate this license key for a specific username in our database, and then on the application page, this user will have to submit the license key with his login and password in order to be able to access the application page.
So basically after his purchase the client is redirected to a page where the license key will be generated (using his username and the product code to generate the key) and then later on we will have to be able to recognize this license key this client wants use it to access the application page.
Here under is a model of free open source key generator in PHP:
[url removed, login to view]
A php key generator based on the same code as above is fine for us, this generator uses a string of characters to generate the license, so our string of characters could be for instance "username + product code".
Any other technic/protocol/code that could achieve the result we want is most welcome don't hesitate to suggest
If you need any details plz comment
thank you in advance