PHP Encryption Question

Could someone please point a way to a freeware secure way to encrypt
PHP code on Apache? :-)
hjasrewqq [ Di, 06 Februar 2007 22:40 ] [ ID #1620703 ]

Re: PHP Encryption Question

hjasrewqq [at] gmail.com wrote:
> Could someone please point a way to a freeware secure way to encrypt
> PHP code on Apache? :-)
>
Why would you need to encrypt the php code?
Andy Beck [ Mi, 07 Februar 2007 04:59 ] [ ID #1621852 ]

Re: PHP Encryption Question

I.P. Security :-)

> Why would you need to encrypt the php code?
hjasrewqq [ Mi, 07 Februar 2007 18:15 ] [ ID #1621858 ]

Re: PHP Encryption Question

Sorta misses the point of using open source here.

By encoding it then that is another process that the system has to run,
thus slowing down the experience for the end user.

If you are that way inclined then this may help you
http://www.zend.com/products/zend_guard (Why you couldn't Google this
yourself. I don't know).


hjasrewqq [at] gmail.com wrote:
> I.P. Security :-)
>
>> Why would you need to encrypt the php code?
>
>
legrice [ Mi, 07 Februar 2007 21:39 ] [ ID #1621860 ]

Re: PHP Encryption Question

Thank you for the link to the commercial product ... and it is *very*
expensive. :-) However, my question is, and maybe I am wrong and there
are no free methodologies to encrypt PHP on the face of the planet,
but I thought to check Usenet to get more perspective. Thank you
though, but maybe this quesiton is better answered by someone else
reading this.
hjasrewqq [ Mi, 07 Februar 2007 22:16 ] [ ID #1621861 ]

Re: PHP Encryption Question

<hjasrewqq [at] gmail.com> wrote:

> Thank you for the link to the commercial product ... and it is *very*
> expensive. :-) However, my question is, and maybe I am wrong and there
> are no free methodologies to encrypt PHP on the face of the planet,

<http://nl2.php.net/manual/en/ref.mcrypt.php>

Everything can be encrypted, yet often it's just silly to do so.

> but I thought to check Usenet to get more perspective. Thank you
> though, but maybe this quesiton is better answered by someone else
> reading this.

Pff encryption would be hard, and has very undesireable sideeffect.
Obfuscation is just silly, as it is usually pretty simple to reverse
engineer (allthough everyone writing on obfuscator offcourse tells you
otherwise...).

<http://php-faq.com/#111>
--
Rik Wasmus
Rik [ Do, 08 Februar 2007 00:09 ] [ ID #1621864 ]

Re: PHP Encryption Question

Thank you all so far, and thank you for the referrals and worthy ideas
- but to re-clairfy my OP and expressed needs, beyond encryption
features of PHP itself and non-encryption techniques to mix-up or
'obfucate' source code ---- I am Expressley looking for any and all
non-commercial methods to fully hide & encrypt PHP code, like
commercial applications zend.com & sourceguardian.com do. Thank you,
but I am more looking for someone who has prior experience using what
I am looking for. I would ideally like to do this without re-
configuring Apache on any public server, like sourceguardian.com and I
believe zend.com accomdiates/does, ideally) :-)
hjasrewqq [ Do, 08 Februar 2007 01:26 ] [ ID #1623107 ]

Re: PHP Encryption Question

<hjasrewqq [at] gmail.com> wrote:

> Thank you all so far, and thank you for the referrals and worthy ideas
> - but to re-clairfy my OP and expressed needs, beyond encryption
> features of PHP itself and non-encryption techniques to mix-up or
> 'obfucate' source code ---- I am Expressley looking for any and all
> non-commercial methods to fully hide & encrypt PHP code, like
> commercial applications zend.com & sourceguardian.com do.

The reason for which is?

> Thank you,
> but I am more looking for someone who has prior experience using what
> I am looking for. I would ideally like to do this without re-
> configuring Apache on any public server, like sourceguardian.com and I
> believe zend.com accomdiates/does, ideally) :-)

Well, some code has to unencrypt it. If not (a modextension of) the
webserver or PHP itself, another language like Perl or something. Nothing
get's unencrypted magically :P
--
Rik Wasmus
Rik [ Do, 08 Februar 2007 01:33 ] [ ID #1623108 ]

Re: PHP Encryption Question

> The reason for which is?

I.P. Security :-)

> Well, some code has to unencrypt it. If not (a modextension of) the
> webserver or PHP itself, another language like Perl or something. Nothing
> get's unencrypted magically :P

Yes, that is what I was hoping for and will make my day happier
(ideally a working solution -- the Magic is optional)



Perhaps someone else out there who has worked with such concept in my
OP might be able to give me a working method to encrypt PHP at the
Apache server level, with *hopefuly* as minimal heavy lifting as
possible and free. Complexity and crypto-synonyms will not scare me.
Maybe someone could hopefully assist me to get where I want to go.
Thank you much :-)
hjasrewqq [ Do, 08 Februar 2007 02:36 ] [ ID #1623109 ]

Re: PHP Encryption Question

hjasrewqq [at] gmail.com wrote:
>> The reason for which is?
>
> I.P. Security :-)
>
>> Well, some code has to unencrypt it. If not (a modextension of) the
>> webserver or PHP itself, another language like Perl or something. Nothing
>> get's unencrypted magically :P
>
> Yes, that is what I was hoping for and will make my day happier
> (ideally a working solution -- the Magic is optional)

Why not go C/C++ directly, and it will be faster than using one language to
decode and then next to parse the code and you get the code protection too.

Of course the code can be disassembled, but that is also possible with the
zend/sourceguardian too.


> Perhaps someone else out there who has worked with such concept in my
> OP might be able to give me a working method to encrypt PHP at the
> Apache server level, with *hopefuly* as minimal heavy lifting as
> possible and free.

I'm doubtful about that, but take a look at freshmeat.net


--

//Aho
Shion [ Do, 08 Februar 2007 10:01 ] [ ID #1623112 ]
PHP » alt.php » PHP Encryption Question

Vorheriges Thema: cursor in input-window
Nächstes Thema: $_POST array clears out