blesseld Posted September 7, 2010 Share Posted September 7, 2010 Hey All, I am looking for a way to setup licensing for a script i built, I am not to worried about the script being modified because I will have different tutorials on modifying things within the script, but I would like to restrict the use of the script to a Per Domain basis. I am looking for some resources or a foot in the right direction to achieve this. Basically, I am looking to setup an authentication code linked to a domain name. The user uploads the script, adds user/pass/authentication code. Are callbacks a way for me to setup a database with this info, and if the code doesn't match the domain it's not usable? perhaps by including an important file or command... thanks in advance for any info. Quote Link to comment https://forums.phpfreaks.com/topic/212785-callback-for-license/ Share on other sites More sharing options...
jonsjava Posted September 7, 2010 Share Posted September 7, 2010 Seeing how PHP is compiled at runtime, if a client knows basic PHP, they can strip out the callback. The closest thing you will get to secure will be obfuscation. As far as callbacks: if you can close the code, that would be fine. I haven't tested this one , but here's an example as to what I'm talking about when it comes to obfuscation: http://www.intricks.com/projects/PhpCodeBuster/ Quote Link to comment https://forums.phpfreaks.com/topic/212785-callback-for-license/#findComment-1108370 Share on other sites More sharing options...
blesseld Posted September 7, 2010 Author Share Posted September 7, 2010 Thanks for the reply, and link I understand that the call back could be cut out, can I not have the script hit a page on my server that connects to a db with stored domain and auth key info? then if it doesn't match to what the user put in return the the auth key is invalid? I am catering to the basic user and not programmer...if a programmer really wants what I am offering they could probably get around whatever to get this thing to work on other domains. Quote Link to comment https://forums.phpfreaks.com/topic/212785-callback-for-license/#findComment-1108392 Share on other sites More sharing options...
ignace Posted September 7, 2010 Share Posted September 7, 2010 can I not have the script hit a page on my server that connects to a db with stored domain and auth key info? Sure, but what prohibits them to just strip it? I am catering to the basic user To a basic user... that buys a script from you somehow knowing his server runs PHP and performs all required installation instructions? Quote Link to comment https://forums.phpfreaks.com/topic/212785-callback-for-license/#findComment-1108394 Share on other sites More sharing options...
blesseld Posted September 7, 2010 Author Share Posted September 7, 2010 ...why is it always so hard here to get an answer? I am seeking a solution. I see this all over the place where you have to buy a license...that's all I am trying to achieve. To a basic user... that buys a script from you somehow knowing his server runs PHP and performs all required installation instructions? I have a config file, with like 3 lines, and I tell them what to put in there with videos on setting up the database.... so ya the basic user that only knows how to setup the script based on the way I show them. What do you "experts" suggest I do.... am I better off just buying something, Or can I use encoding or obfuscation plus something that contents to my server/hit a page that runs a script and checks for something. If the guy that knows php wants to steal it, they are going to regardless. Quote Link to comment https://forums.phpfreaks.com/topic/212785-callback-for-license/#findComment-1108413 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.