Protecting Your PHP Source Code

Time for a Sunday morning nerd out.  If you are a programmer or entrepreneur in a company that develops in PHP watch in horror as the main Facebook source code is released into the wild.  Of course, this could be a hoax, as several commenters assert, but it also sounds like it’s a possibility due to a misconfigured server.  Nik Cubrilovic – who wrote a good detailed post on TechCrunch titled Facebook Source Code Leakedwrote a followup post on his own blog titled Learning from Facebook: Preventing PHP LeakageAh – the joys of scripting languages. I miss the Microsoft Basic Compiler.

  • http://killersoft.com Clay Loveless

    Brad, long-time reader, first-time poster.

    Nik's post on his own site is pure FUD. PHP didn't cause this problem, a system administrator making a mistake caused the problem. See my full post on the subject here: http://killersoft.com/randomstrings/2007/08/12/ph

  • http://killersoft.com Clay Loveless

    Brad, long-time reader, first-time poster.

    Nik's post on his own site is pure FUD. PHP didn't cause this problem, a system administrator making a mistake caused the problem. See my full post on the subject here: http://killersoft.com/randomstrings/2007/08/12/ph

  • http://killersoft.com Clay Loveless

    Brad, long-time reader, first-time poster.

    Nik’s post on his own site is pure FUD. PHP didn’t cause this problem, a system administrator making a mistake caused the problem. See my full post on the subject here: http://killersoft.com/randomstrings/2007/08/12/php-did-not-cause-facebook-code-leakage/

  • http://dpn.name Dave Novakovic

    There is no doubt this was a server administration problem.

    I’m not sure Nic was attacking PHP though… there are unfortunate realities you have to deal with in any language. Embedding any interpreter into your web server binary is accepted as a less than optimal solution, despite being faster. If he really wanted to have a dig at php he could have just searched for “php warts” in google :)

  • http://www.centraldesktop.com Isaac Garcia

    While no company wants its code leaked or ripped anywhere….in many ways it doesn’t matter.

    Facebook’s success is/has/will NOT be(en) a result of its code – rather good execution.

    Execution trumps technology.

    It’s not about the code, it’s about the business.