AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Licensing system?

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
EveOnline001



Joined: 23 Mar 2009
Posts: 27

PostPosted: Sat Apr 11, 2009 9:07 am    Post subject: Licensing system? Reply with quote

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
View user's profile Send private message
Icarus



Joined: 24 Nov 2005
Posts: 851

PostPosted: Sat Apr 11, 2009 9:38 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
EveOnline001



Joined: 23 Mar 2009
Posts: 27

PostPosted: Sat Apr 11, 2009 9:49 am    Post subject: Reply with quote

Sweet, thanks.
Back to top
View user's profile Send private message
Icarus



Joined: 24 Nov 2005
Posts: 851

PostPosted: Sat Apr 11, 2009 10:01 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group