Jump to content


Photo

Configuration to protect the PHP source code?


  • Please log in to reply
6 replies to this topic

#1 ragax

ragax

    Advanced Member

  • Members
  • PipPipPip
  • 186 posts
  • LocationNelson, NZ

Posted 25 July 2013 - 09:14 PM

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. :)

 



#2 trq

trq

    Advanced Member

  • Administrators
  • 30,731 posts
  • LocationSydney, Australia.

Posted 25 July 2013 - 09:48 PM

Do some of you know what commercial outfits use nowadays to protect their source code?

 

License agreements. Obfuscating code won't achieve much.


http://thorpesystems.com | http://proemframework.org | http://github.com/trq

SmtpCatcher - A very simple mock sendmail useful for testing PHP mail scripts.
OPM - My Linux package manager.


#3 PravinS

PravinS

    Advanced Member

  • Members
  • PipPipPip
  • 404 posts
  • LocationNashik, India

Posted 25 July 2013 - 11:25 PM

try ioncube

 

http://www.ioncube.com/


Thanks & Regards,
PravinS | Blog


#4 ragax

ragax

    Advanced Member

  • Members
  • PipPipPip
  • 186 posts
  • LocationNelson, NZ

Posted 25 July 2013 - 11:35 PM

@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!

 

#5 ragax

ragax

    Advanced Member

  • Members
  • PipPipPip
  • 186 posts
  • LocationNelson, NZ

Posted 26 July 2013 - 12:27 AM

Aarrg, not what I'm hoping to hear.

 

 

But now that I've read about Idezender and similar tools, I think I know why you said that "Obfuscating code won't achieve much".



#6 trq

trq

    Advanced Member

  • Administrators
  • 30,731 posts
  • LocationSydney, Australia.

Posted 26 July 2013 - 06:47 AM

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.

http://thorpesystems.com | http://proemframework.org | http://github.com/trq

SmtpCatcher - A very simple mock sendmail useful for testing PHP mail scripts.
OPM - My Linux package manager.


#7 ragax

ragax

    Advanced Member

  • Members
  • PipPipPip
  • 186 posts
  • LocationNelson, NZ

Posted 26 July 2013 - 04:22 PM

Thank you for explaining, trq.

What's there to excuse, it looks great. Simple is beautiful.

Wishing you a fun weekend.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com