Ok so this is the situation....I have this app (Product app) that requieres a license key to be activated. The app is shipped with another app(key generator) that generates the license key. This key generator uses an encrypted file (license.lic) that contains data that is to be validated in the pc that the product app is going to be installed.
For example lets say that the license.lic file holds hard drive serial numbers, then I would use the key generator to read the license.lic to see if the hd serial in the pc where i´m installing the product app is in the license.lic thus allowing to create a license key for the product app.
Ok now what I would like to do is to limit the number of installations per serial number in the license key. I would like to be able to generate 5 license keys for each serial number, this meaning that if I were to generate a 6th license key for that same serial number ,the key generator would throw a message or something.
So any ideas....suggestions are most welcome.
Suggestions please
Started by reniery, Oct 28 2008 03:18 PM
5 replies to this topic
#1
Posted 28 October 2008 - 03:18 PM
|
|
|
#2
Posted 28 October 2008 - 04:08 PM
It would help if you could supply more info. Such as the language you are using.
jQuery Selectors Tutorial - jQuery Striped Table tutorial - jQuery Events - jQuery Validation
Sorry if I don't post as often as I did, I'll try to get here as much as possible! I'm working my bum off to get this scholarship and other stuff!
#3
Posted 28 October 2008 - 07:41 PM
In general, limiting the number of valid installs will require the app to "call home" and "use up" a license. Otherwise, they'll figure out what happened and go to the .lic file on an earlier computer and copy that.
#4
Posted 29 October 2008 - 10:31 AM
Yes thats exactly my problem ... So maybe generating the license online, maybe not shipping the key generator but having them go online for the license key...I could do that do you think thats a good way to solve this issue ?
An idea I had was to use a usb and to have the .lic located there, but to do this I the usb key would have to be kinda read-only cause my program would still have to modify the .lic in the usb...
The language I use is not really relevant or is it ?
An idea I had was to use a usb and to have the .lic located there, but to do this I the usb key would have to be kinda read-only cause my program would still have to modify the .lic in the usb...
The language I use is not really relevant or is it ?
#5
Posted 29 October 2008 - 11:12 AM
The language is only relevant in that it must support an internet connection (probably TCP/IP). One way is to store the key in a database, along with a hash of info about the computer. You always have to balance these things against how much they'll irritate users and drive them to look for another solution.
#6
Posted 29 October 2008 - 01:28 PM
I don't think the users are gonna be irritated...unless my implementation of this solution is really really bad. I´m getting excited to do this proyect as im a little bored of coding in vb6 a change of pace would be nice. The product and the generator are both developed in vb6. Im thinking that I could port the generator to a web app, maybe using asp.net with c#. What do you think winged panther ?
Any advice would be great :D
Any advice would be great :D


Sign In
Create Account


Back to top









