Jakez Posted April 2, 2010 Share Posted April 2, 2010 How do I sell a PHP script on a per domain license basis? I've found a utility that will encrypt a file for me, I just want to encrypt one file that is required for the script to run so that they can still do some editing to the other parts of the script if they want. Question is, how do I include the one encrypted file which checks their domain for validation without the person deleting the include? Quote Link to comment Share on other sites More sharing options...
hackalive Posted April 2, 2010 Share Posted April 2, 2010 what are you using to encrypt? Quote Link to comment Share on other sites More sharing options...
trq Posted April 2, 2010 Share Posted April 2, 2010 Question is, how do I include the one encrypted file which checks their domain for validation without the person deleting the include? You would need to somehow make the application actually need (require) this file. Encryption and the like is not normally the best approach to licensing, it also now means your application can only run on servers where the encryption engine you have chosen to use is supported. Quote Link to comment Share on other sites More sharing options...
Jakez Posted April 2, 2010 Author Share Posted April 2, 2010 what are you using to encrypt? http://www.codeeclipse.com Question is, how do I include the one encrypted file which checks their domain for validation without the person deleting the include? You would need to somehow make the application actually need (require) this file. Encryption and the like is not normally the best approach to licensing, it also now means your application can only run on servers where the encryption engine you have chosen to use is supported. Yeah I know, which is why I did my best to find an encryption method that doesn't require any special engines installed. It's not the best encryption obviously, but will ward off at least most of the people. I'm just not sure how to make the script require this encrypted file(s) to run without them being able to remove the includes and checks in the non-encrypted files. Maybe put one important function inside the encrypted file and they won't know which one it is without going through everything? But if they just remove the include it would easily tell them which function(s) is missing. Quote Link to comment 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.