Solved

How to protect PHP source code?

Posted on 2009-05-07
12
473 Views
Last Modified: 2013-12-13
Hi there,

I am developing a web-based software with PHP. Right now, the software will be distributed and be installed in desktop computer. Since it's PHP based, when it's installed, the source code could be seen.
Do you have any idea how to secure or protec the source code, so when the software installed in server they couldn't see the source code? or are there any other ways to prevent this?
I know some good system like soureguardian and ioncube, but I wouldn't get them because their price is too high for me. I would appreciate any input.

Thanks
0
Comment
Question by:Edwat
  • 4
  • 3
  • 3
  • +1
12 Comments
 
LVL 14

Expert Comment

by:shobinsun
ID: 24324170
Hi,

zend guard and ioncube PHP encoder are the best professional, enterprise class solutions available that have never been successfully reverse engineered ... yet.

http://www.zend.com/products/zend_guard/

http://www.ioncube.com/
0
 
LVL 4

Accepted Solution

by:
Andy1988 earned 350 total points
ID: 24324181
You can use IonCube to protect/encrypt your PHP source code

http://www.ioncube.com/
0
 
LVL 14

Assisted Solution

by:shobinsun
shobinsun earned 150 total points
ID: 24324185
Hi,

Also

There are a couple of ways to do that.

http://www.topshareware.com/SourceGuardian-PHP-Encoder-download-37083.htm  ( this is a commercial encoder )

 http://www.raizlabs.com/software/phpobfuscator/


Regards
0
 
LVL 36

Expert Comment

by:Loganathan Natarajan
ID: 24324196
I searched in EE, lots found,

http://www.rssoftlab.com/

http://pobs.mywalhalla.net/

http://turck-mmcache.sourceforge.net/index_old.html

You can use any of these...

http://pobs.mywalhalla.net/
Encoder :
http://www.rssoftlab.com/main.php4
Screw:
http://sourceforge.net/projects/php-screw/

http://sourceguardian.com/

is another more proffessional application...

//Jan
http://www.ivtaco.com

You could obfucate your code which will make it harder to break (but not impossible).
Here's an example:
http://www.virtualpromote.com/tools/php-encrypt/


0
 

Author Comment

by:Edwat
ID: 24324275
Guys, thanks for the input.

I mentioned earlier that sourguardian, ioncube and also zend guard fee is too high for me. Need other software that could protect the source code with lower fee..

btw, do they charge for each software license that I will distribute or it is a one time fee for the software to use? thanks
0
 
LVL 36

Expert Comment

by:Loganathan Natarajan
ID: 24324280
I have listed few freewares please try those.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 4

Expert Comment

by:Andy1988
ID: 24324294
No, just for the software :)
0
 
LVL 14

Expert Comment

by:shobinsun
ID: 24324311
0
 

Author Comment

by:Edwat
ID: 24332984
I just want to be sure..
so basically, ioncube or sourceguardian fee is just one time fee and after I buy their license I could encode and generate license for unlimited php script files?
0
 
LVL 4

Expert Comment

by:Andy1988
ID: 24332991
Yeah, you can. You just need to invest $199 one time.
0
 
LVL 14

Expert Comment

by:shobinsun
ID: 24333002
Hi.

Yes you are right.
0
 

Author Comment

by:Edwat
ID: 24333007
ok great. thanks for your input.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now