Search code examples
phpprogramming-languagesscripting

Protecting Scripting Language Source Code


I'd like to protect the PHP and JavaScript program source code from the prying eyes of my client. How can I do that?


Solution

  • your javascript source is fair game I'm afraid. You can minify it, you can obscure it and compress it but you can't hide it.

    if you are storing PHP files on your clients server, then this issue will be difficult to overcome also.

    Apparently there are some PHP encrypters available but they have an adverse affect on performance.

    So yeah, not much you can do really. Especially if your client is technically savvy.