1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Protecting PHP code

Discussion in 'HTML, Graphics & Programming' started by theMAD2, 6 Feb 2006.

  1. theMAD2

    Hitman

    Joined: 2 Aug 2005

    Posts: 680

    I've seen a couple of programs on here:
    http://www.phpbuddy.com/article.php?id=24
    that can encrypt PHP code, but they seem to require some sort of server side install. Is there a way of protecting code for distribution without having to change the server it will be hosted on?

    Thanks,
    Dan
     
  2. Beansprout

    Man of Honour

    Joined: 31 Jan 2004

    Posts: 16,312

    Location: Plymouth

    In short, no. Not that I've seen, anyway :)

    Also, the Zend setup is found on almost all hosting installs, but I'm not sure about SourceGuardian.
     
  3. Dj_Jestar

    Caporegime

    Joined: 18 Oct 2002

    Posts: 28,816

    Location: Back in East London

    A strong contract/license is your best method of protection unfortunately.
     
  4. theMAD2

    Hitman

    Joined: 2 Aug 2005

    Posts: 680

    Has anyone used Source Gardian before? It sounds like a better option for me. I just wondered if you needed to install software on the target server or just run your script through another script (if that makes sense)?