Mobile app version of vmapp.org
Login or Join
Hamaas447

: How can I protect my PHP source code from a client when installed on a client's server? I have done a PHP web application and my client request to host it at their server. How can I protect

@Hamaas447

Posted in: #Php #Security

I have done a PHP web application and my client request to host it at their server. How can I protect my PHP code so that it will not be viewed, study, or take it for any other usage by my client?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Hamaas447

1 Comments

Sorted by latest first Latest Oldest Best

 

@Deb1703797

You can encode your code using ionCube and similar products. Your client won't be able to view, study or take it.

However, everything can be reverse engineered meaning that, no matter how you encode your code, it can be decoded. For example, ionCube can be decoded with decry.pt. It works, I can confirm it.

So you'll never be able to really secure your code but this is a good start.

Of course, after encoding the script, make sure that the client isn't allowed to view, study or take it. Choose a proper license for your script.

Make sure you have a signed written contract between you and the client stating the conditions for license use so the license is enforceable in a court of law.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme