| View previous topic :: View next topic |
| Author |
Message |
EveOnline001
Joined: 23 Mar 2009 Posts: 27
|
Posted: Sat Apr 11, 2009 9:07 am Post subject: Licensing system? |
|
|
I'm looking for ideas into a method to create a licensing feature to my macro. I would like a user to require a registered key to verify with my website before continuing to run the script.
I already have a working prototype. I use a MySQL database on my website to keep track of valid license keys. I use UrlDownloadToFile to get the reply from the server.
I'm wondering how can I make it uncrackable. Right now the server just responds "success" or "fail". I am thinking on the lines of having the server send a code that the client has to analyze. For example, I have the client send a random code to the server with the license key. If the license key verifies, it replies with a code. The client then has to process the code and return true for the macro to continue. If my macro is cracked, the person won't know how to generate the valid server reply code.
How can I generate/process this validation code? |
|
| Back to top |
|
 |
Icarus
Joined: 24 Nov 2005 Posts: 851
|
Posted: Sat Apr 11, 2009 9:38 am Post subject: |
|
|
You may want to take a look at this thread
Although it does not use a database, I am guessing you can use some ideas in this thread and adopt them to your own situation. _________________ Sector-Seven - Freeware tools built with AutoHotkey |
|
| Back to top |
|
 |
EveOnline001
Joined: 23 Mar 2009 Posts: 27
|
Posted: Sat Apr 11, 2009 9:49 am Post subject: |
|
|
| Sweet, thanks. |
|
| Back to top |
|
 |
Icarus
Joined: 24 Nov 2005 Posts: 851
|
Posted: Sat Apr 11, 2009 10:01 am Post subject: |
|
|
Cool.
Maybe to save you some time - go to page 3 of that thread (towards the bottom)
I have posted a function wrapper there, should be easy to plug and play for your purpose.
Then, in later pages I also posted a generic GUI implementation, although I suspect you would not want/need that. _________________ Sector-Seven - Freeware tools built with AutoHotkey |
|
| Back to top |
|
 |
|