Hi:
I was wondering how can I secure my php source codes, like covert them to bytecode. i know php offers bcompiler, but hostpapa refuse to install it, and i know there are eaccelerator and Turcke MMCache but they also refuse to install that. I know there are commercial available applications such as zend encoder and ioncube, but those are way over my allowed budget.

so now, i need to find a way to encrypt my source code so that no one copies my source code and uses on other sites.
thanks

    I don't think there is a good free solution. Many of them require additions to Apache, so I guess you would have trouble with that too.

    Most of the encryption methods I've seen, ie. zend encoder can be easily broke. I don't really want to link to it, but one may google for words such as "decode zend php" ....... not hard to find at all. However, I suppose it would stop most people.

    I think the only real way to do it is to stop access to the server.

      thanks for your reply. But here is the problem:
      I'm the owner of this website, and i will be replaced in about 6 monthish, and i have programmed everything on that site, and there is this particular application where i wouldn't mind let them to continue to use, but i'm afraid that they will copy it and redistribute it.

      and i think even if zend is decryptable it will work for my purpose, but zend license is like in the thousands, thats just out of my budget (unless they offers free educational license)

        I hear of something called the RoadSend Compiler (google if you want) which supposedly compiles PHP into native code. You wouldn't be able to bridge with source apps I don't think, but if you put all your "sensitive" data in a single script you can probably just exec it as needed.

          thanks for the reply zabmilenko, but i'm not the owner, and i honestly doubt that they will install this piece of software, but thanks for your suggestion.

            Write a Reply...