Jump to content

Configuration to protect the PHP source code?


Recommended Posts

If you're installing code on a client's server, what is a good configuration to protect your code from getting ripped off?

 

A few years ago I remember reading about obfuscation, and about some options to install compiled PHP.

 

Do some of you know what commercial outfits use nowadays to protect their source code? What are the best free solutions? And the best paid solutions?

 

Many thanks in advance. :)

 

Link to comment
Share on other sites

@trq, g'day from across the Tasman,

 

You mean, sign something with the client, and leave the source code wide open on their server?

Aarrg, not what I'm hoping to hear. :)

 

An unrelated question, but which also has to do with php configuration. I clicked on thorpesystems and saw mentioned a "static site generator". Is the idea to transform a set of dynamic pages into static pages, rebuilding them as needed, to make the site load faster? A friend mentioned he makes his pages that way, and the idea has been tantalizing me ever since... but I haven't yet found the courage to tackle it.

 

Recently got back into projects after about a year's break so I have a number of questions.

 

@PravinS: Thank you very much, I will have a look!

 
Link to comment
Share on other sites

We have 1100+ clients, who all have copies of our code in there servers. We do however maintain these servers for the clients but that is beside the point.

 

In like the last 7 years there has been one instance of someone breaking their license agreement by trying to use our code outside of it.

 

As for static site generation. I use it because i prefer to add content to my sites via vim and git rather than using some web interface. My sites source code is available (and the app I created to generate it) at the links in the bottom right corner of the site. You'll have to excuse the design of that thing, I got half way through converting it and couldn't be bothered to be honest.

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.

Guest
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.