David Williams wrote:
Hello all. Anyone know of a free program I can use
to encrypt my php code? I would like it to be secure as possible.
i.e. not viewable from the web.
Also, is there an html encryptor or will the php encryptor
encrypt that, too?
Free:
http://turck-mmcache.sourceforge.net/
More Portable (cost money):
http://www.zend.com/store/products/zend-encoder.php (start @ US$960)
http://www.sourceguardian.com/ (start @ US$250)
http://www.ioncube.com/sa_encoder.php (start @ US$199)
http://www.sourcecop.com/ (only US$10)
Most portable (not encoders - distributes source in a difficult-to-read
way):
http://www.gridinsoft.com/protect.php http://www.semdesigns.com/Products/O...bfuscator.html
I evaluated a few of the different *encoders* above. I liked turck, but
found that the ISPs I worked with didn't want to build and install the
necessary module.
Zend encoder was simply out of my price range, so I didn't even download
that one.
SourceGuardian looked good, but I had seen some things online about the
possibility of decoding files. (The techs at SG assured me that the info
I found was only valid for previous versions with non-default settings
that users shouldn't have used any way.)
I hadn't seen SourceCop before I decided on an encoder, so I didn't try
that out either.
ionCube is the one I went with. I ended up getting the Pro encoder and
the Pro GUI to go with it (don't remember what it all cost in the end),
and I have been very happy with the results thus far. I have been using
it steadily for about 3 months now, but haven't had any server
compatibility problems yet.
As for HTML, there is no way to encrypt HTML in a way that a web visitor
can't retrieve it rather quickly (most cases in less than 10 minutes).
HTML is what the browser needs to display the content, so without that,
you're SOL. There are javascript tools that claim to encrypt, but if the
visitor doesn't have js enabled, they get nothing worthwhile (read
"can't read your page at all"). Also, in order encrypt, they have to
have a decrypt function since you can't use byte-code with JS (ASAIK).
Besides, if you do something that you think is spectacular in HTML,
chances are you aren't the first to do it (by a long shot).
--
Justin Koivisto -
ju****@koivi.com http://koivi.com