Page 1 of 1

How Can I Secure My .php Source Code by MD5 hash ?

Posted: Sun Jan 25, 2009 3:25 am
by hassanshahi
Dear Friends,


I need to hash my scripts and my php files running on server.


specially thanks for any comments.
Hassanshahi :)
hassanshahi@gmail.com

Re: How Can I Secure My .php Source Code by MD5 hash ?

Posted: Sun Jan 25, 2009 7:14 am
by Hannes2k
Why??

Re: How Can I Secure My .php Source Code by MD5 hash ?

Posted: Sun Jan 25, 2009 7:39 am
by kaisellgren
Hannes2k wrote:Why??

Re: How Can I Secure My .php Source Code by MD5 hash ?

Posted: Tue Jan 27, 2009 12:06 am
by hassanshahi
Hannes2k wrote:Why??

Hi Hannes2k,
Hi Kai,

I'm working on a project based on PHP 5 and MySQL 5 about ' Universal Product of Accountancy ' and I need to secure all the codes running on server and so on the HTML codes generated by PHP scripts, because of Safety Client Information, So I need your help about it.

Thank you for your attention.
:P :P :P Hassanshahi

Re: How Can I Secure My .php Source Code by MD5 hash ?

Posted: Tue Jan 27, 2009 2:26 am
by jmut
Html and javascript is always visible. As for securing your code there is software for this like Zend Guard and the like.

Re: How Can I Secure My .php Source Code by MD5 hash ?

Posted: Tue Jan 27, 2009 2:32 am
by Apollo
You want to secure the HTML codes generated by PHP scripts? But... they're dynamic, right? (otherwise I guess you wouldn't be using PHP)

Re: How Can I Secure My .php Source Code by MD5 hash ?

Posted: Tue Jan 27, 2009 6:54 am
by kaisellgren
Apollo wrote:You want to secure the HTML codes generated by PHP scripts? But... they're dynamic, right? (otherwise I guess you wouldn't be using PHP)
Not necessarily. PHP is not just for dynamic websites. PHP provides a huge list of tools and I myself use some of them as system administrative tools (socket, stream, port, dns, etc) even though I do not need them in my website. A database could be used for just logging or other purposes non-related to the website, but for sure the common reason to use PHP is to allow dynamic websites.

Hiding CSS, JS, HTML, ... is impossible. Also, web browsers tend to modify the HTML source - for example in Firefox creating a HTML table with XHTML document definition will make Fx to change your HTML source.

Hiding PHP is impossible too in theory. However, in practise Zend Guard does the job best. I've decoded several encoded scripts (namely FirewallScript, Torrent scripts, ...) and I must say that you get what you pay for - Zend Guard is far better than free encoders or other solutions. I've never managed to beat the new Zend Guard 5.

You may want to be interested in this (black hat stuff hehe): http://www.zendecode.com/

Re: How Can I Secure My .php Source Code by MD5 hash ?

Posted: Sat Jan 31, 2009 4:37 am
by hassanshahi
kaisellgren wrote:
Apollo wrote:You want to secure the HTML codes generated by PHP scripts? But... they're dynamic, right? (otherwise I guess you wouldn't be using PHP)
Not necessarily. PHP is not just for dynamic websites....

Dear Kai,

I Wish The Best For You, I Impressed Of You and Your Latest Post.
I Got My Answer :P
So Earlier , I Used HTML Encoder that Encrypts My Codes With a Password and It Works Well.
I Don't Remember That Software Name, But If Someone Need It, I Will Search In My Library!

Thank You Very Much.
Hassanshahi


When We Work Together...
We Win Together...