Jump to content

callback for license


blesseld

Recommended Posts

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.

Link to comment
Share on other sites

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/

Link to comment
Share on other sites

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.

 

 

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

...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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.