AutoHotkey Community

It is currently May 26th, 2012, 3:59 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Licensing system?
PostPosted: April 11th, 2009, 10:07 am 
Offline

Joined: March 23rd, 2009, 12:27 pm
Posts: 27
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?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 11th, 2009, 10:38 am 
Offline

Joined: November 24th, 2005, 8:16 am
Posts: 851
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 11th, 2009, 10:49 am 
Offline

Joined: March 23rd, 2009, 12:27 pm
Posts: 27
Sweet, thanks.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 11th, 2009, 11:01 am 
Offline

Joined: November 24th, 2005, 8:16 am
Posts: 851
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


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, Exabot [Bot], G. Sperotto, gamax92, Google Feedfetcher, notsoobvious and 21 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group