Link to home
Start Free TrialLog in
Avatar of Lev Buchel
Lev BuchelFlag for Israel

asked on

script licensing and security

Hello, so i am working on a script which i will sell online by sending the copy of that script to clients who will purchase it.
The script works like wordpress for example, after installation on the client's website they are set to go.
What i am looking for is information about protection and licensing.
I want to be able to create a license for each purchase with which my clients will be able to activate their product so that those who just have my files wont be able to use them for free.
Also i guess i need to encrypt my script using for example RSA or any other method doing so in order to prevent the script being nulled.
As a side note, i have found a website that claim to provide all of that "phpmillion", here is a url for the product description and purchase:
https://codecanyon.net/item/auto-php-licenser/19720092
Will that product meet my needs? are there any other similar solutions? how do i use it?
I know there are products like zend, ioncube but i don't think they offer licensing solution.
This is a new topic to me so i have very little knowledge in that area.
Thank you for your help!
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

You are using PHP and JavaScript - interpreted scripts - whatever you do to protect them your customers can undo - as you are giving them the source code.

Depending on the nature of the application one method that works is if you have an API for the code. The main functionality sits on your server and is called by your client's code. If they are not paid up the API does not allow them access.

There are commercial products for code protection the following two being quite prominent.
http://www.ioncube.com/php_encoder.php
http://www.zend.com/en/products/zend-guard
ASKER CERTIFIED SOLUTION
Avatar of Chinmay Patel
Chinmay Patel
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Note that Ioncube and/or Zend must be installed on the web server by the host for you to use them.  They have become pretty common but not universal.
Avatar of Lev Buchel

ASKER

Thank you for your replies.
Regarding ioncube and zend i think i will have to pass due to the fact that i am developing the script at my spare time and i am not sure if i will end up completing it or not so i cannot justify buying their services for such a price ($200).
I have seen a solution which provide licensing option with php obfuscator.
Is "php obfuscator" going to be good enough as a code protection?

Also, regarding ioncube, i have seen that there is a feature called ioncube loader is that what i need?
Is "php obfuscator" going to be good enough as a code protection?
No.

Also, regarding ioncube, i have seen that there is a feature called ioncube loader is that what i need?
I believe there are two parts.  One to 'encode' your PHP code and another that resides on the server to decode and run it.   Their web site should tell you about it.  http://www.ioncube.com/php_encoder.php
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you gonzo, Julian, Dave and Chinmay.
Your comments were very helpful.
I will end up with purchasing both the PHP Licenser and ioncube.
And as Chinmay suggested, since there is an encoding support i will encode the script and then generate license for each costumer.
Thank you again!