Hiding PHP Code

Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.

Moderator: General Moderators

Post Reply
RaoYasir
Forum Newbie
Posts: 2
Joined: Sun Mar 28, 2010 11:34 pm

Hiding PHP Code

Post by RaoYasir »

Hi!
I need some suggestions from you guyz, i am quite new in php and during my one project, i have to deploye web based php solution on their local server. i just want to hide or encrypt my php code, so that the client could not view the php code even if he would open the .php files,

I have tried the changes like changing the extension of file but even in that case user can view the code if he want

is there any way that we can secure php code pages or give a release like dot.net applications so that code should convert in .dll files?

any suggestions would be most appriciated.
vanguard
Forum Newbie
Posts: 13
Joined: Mon Jan 11, 2010 9:10 am

Re: Hiding PHP Code

Post by vanguard »

Try using the ioncube encoder (http://www.ioncube.com/), it encodes the php file into unreadable bytecode that is decrypted and then directly processed by the php engine.
User avatar
kaisellgren
DevNet Resident
Posts: 1675
Joined: Sat Jan 07, 2006 5:52 am
Location: Lahti, Finland.

Re: Hiding PHP Code

Post by kaisellgren »

Zend Guard is currently the most secure choice to encode/encrypt your files.
Post Reply