Jump to content

Protecting your code on a 3rd party server?

Recommended Posts

I have had a customer want to run my application (PHP/APACHE/MYSQL) on their server rather than a commercial hosting offering (JUSTHOST/GODADDY)


I am reluctant, as it means giving them access to my PHP code which could possibly be copied or distributed. 


Can I protect against this?



Link to comment
Share on other sites


Can I protect against this?

Short answer not really. As PHP is not a compiled language all code is in plain text format.


Your options are to to use a software license agreement (EULA) to protect your assets (up to you how you enforce it). Or you could use an encoder which obfuscates your code, making it harder for the end user from reading your source code.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.