Here's my dilema: I have explain before that I would like to keep HTML AND PHP code in a database to be eval'ed when a certain page is called. I've covered probably every imaginable security issues with the script itself, but I am concerned with my PHP code begin picked up/altered during transmission. So I use mcrypt, right?

Wrong. The problem is, I'm on a public server, with no mcrypt, and no hope of ever getting it. The first thing I tryed was to write my own encryption functions--not an easy task to do a good job with. I did a little online research and tried a few things, but a simple C# program I made easily cracked all of my encryption methods.

SO, I need advice on what to do--besides not implement the system mentioned above. How should I go about creating a really good encryption algorithm, or does anyone know one made in PHP that I could use for free? Thanks 😃

    To be honest your extremely paranoid. There isnt much else you can use.

    However Mcyrpt itself can be decrypted and wouldnt take very long at all if the encyption key was known.

    There is base64_encode,base64_decode but they arent what your looking for.

    Other than create your own Encyrption Type, ask your host to install mcyrpt.

      If you're really concerned about security, you're looking in the wrong area.

      Shared servers are usually not very secure. In most setups, other customers who have access to that server can read your .php files (though most probably don't know how).

        Originally posted by swr
        If you're really concerned about security, you're looking in the wrong area.

        Shared servers are usually not very secure. In most setups, other customers who have access to that server can read your .php files (though most probably don't know how).

        yes very true however dedicated hosting is quite expensive compared to shared i dont think security for an average site is worth that much.

          So, more likely than not, the security risk in doing what I have suggested is not overwhelmingly great?

            Write a Reply...