Search code examples
phpjavascriptcopy-protection

PHP/Web Script Protection


I want to write a script in PHP and javascript and somehow protect my source code so that I can sell my script.

I am looking for ideas how to protect my script. If I sell it to someone, how can I stop that person from redistributing it as their product?

I know there is ZEND and ionCube, but are there any other methods? As I don't like to force a user to have zend optimizer installed on the server.

Is there any way of generating a "serial number" protection for these scripts that cannot be removed by editing the code?


Solution

  • There are ways to obfuscate and encrypt your code but if you rely on your profit coming from folks having a hard time cracking your code, not on the quality/usability of your code/programming then I think you're approaching your market from the wrong perspective.

    Make your code's accessibility a feature, which could make it easier for your customers to audit their security or get/make plugins to enhance your code's usability.

    Sorry; this isn't really an answer to your question, is it?