PHP Security - Encrypt Scripts?

4 views
Skip to first unread message

flickle1

unread,
Aug 8, 2008, 7:11:55 AM8/8/08
to PHP Hacks
Hello i want to make my website scripts encrypted to protect them from
my internal admin users
to insure no scripts are ever copied, editted, or used in any other
way without my premission

basically i just want to make my website unreadable, compiled similar
to C++ or encrypted so that nobody can use my scripts without my
premission.

But most of all as this is for an online website i want the website to
run as normal and be available for the public to use.

I read up on zend that i think may be able to do it but i cannot work
it out as i now have the software.

But either way does anyone know the best way to encrypt your website
scripts and still make the website available to the public as normal.

Thanks in advanced
MR Daniel Lee

flickle1

unread,
Aug 8, 2008, 4:38:22 PM8/8/08
to PHP Hacks
Is there a way i can encrypt my scripts so that nobody can read them
even if they had access to the website via FTP or the file manager.
And of course the website will need to be able to run as normal on the
internet for the general public.

This is literally to prevent my admin members or associates that may
work on the website
from copying my website. or using the scripts in any other way other
then the purpose of the website it self.

What is the best solution
Thanks in advanced

Mr Daniel Lee - London UK

gaurav.v.sharma

unread,
Aug 13, 2008, 1:13:55 PM8/13/08
to PHP Hacks
do some reading about the 'zend guard' over here, I think it will
solve your query
http://www.zend.com/en/products/guard/

Kiamil

unread,
Sep 1, 2008, 12:55:09 PM9/1/08
to PHP Hacks
Hello!

Not , but you can use a password difficult to FTP ;]

Maybe it really can, but it would be difficult and took a lot of
transfer.

Kiamil, Zabrze PL

Alex Weber

unread,
Oct 15, 2008, 7:05:14 AM10/15/08
to PHP Hacks
hi there,

first off if you're using PHP nobody will see the logic anyway as only
HTML is outputted.

as far as CSS and JS go (since they have to be publicly visible) you
can always compress them to make them unreadable :)

also, if you use apache, i believe "mod_deflate" compresses the entire
content without any intervention automatically.

there's gotta be better ways though... have you ever tried to look at
Googles source code? xD
Reply all
Reply to author
Forward
0 new messages