473,779 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

protect source code

Hi,
Is it possible to hide a source code PHP in order to protect it,
I mean, I'm developpind a web solution for customers and I don't like that
the customer or the host see my code.

Thanks.
Jul 17 '05 #1
9 3792
On Tue, 5 Oct 2004 17:26:07 -0400, someone posing as toufik toufik chisled
in the wall:
Hi,
Is it possible to hide a source code PHP in order to protect it,
I mean, I'm developpind a web solution for customers and I don't like that
the customer or the host see my code.

Thanks.


Lot's of ways.

1. Compile it - oh, wait this is php...

2. obsfucate it - there are many tricks to this.
--
kai - filesiteguy at yahoo dot com
www.perfectreign.com || www.filesite.org || www.gamephreakz.com
"I got a Rock!" - C. Brown

Now playing: "Cactus World News - Frontiers"
Jul 17 '05 #2
toufik toufik wrote:
Is it possible to hide a source code PHP in order to protect it,
I mean, I'm developpind a web solution for customers and I don't like that
the customer or the host see my code.


One solution is

Zend Encoder:
http://www.zend.com/store/products/z...coder.php?home

--
USENET would be a better place if everybody read: | to email me: use |
http://www.catb.org/~esr/faqs/smart-questions.html | my name in "To:" |
http://www.netmeister.org/news/learn2quote2.html | header, textonly |
http://www.expita.com/nomime.html | no attachments. |
Jul 17 '05 #3
In article <Kj************ ********@news20 .bellglobal.com >,
"toufik toufik" <to*****@sympat ico.ca> wrote:
Is it possible to hide a source code PHP in order to protect it,
I mean, I'm developpind a web solution for customers and I don't like that
the customer or the host see my code.


Depends on what you mean by "hide it". Hide it from _what_?

You can't hide it from the web server or you won't be able to display
pages. If the customer has shell access to the server, you _may_ be
able to hide that from them if the file permissions are set correctly.

But if you're trying to "compile" the code in such a way that they can
look at the file but don't know what it's doing, that can only be done
minimally as has been previously discussed.

If you want to make the source code unavailable, switch to a compiled
language like C and write it as a CGI program. Otherwise, there's only
so much you can do to "hide" the source code in php, perl, or python.

You could switch to Java, but portability might be a problem, as well as
scaling to more traffic.

--
DeeDee, don't press that button! DeeDee! NO! Dee...

Jul 17 '05 #4
filesiteguy wrote:
1. Compile it - oh, wait this is php...


Use the Zend Encoder:
http://www.zend.com/store/products/zend-encoder.php

Regards,
Matthias
Jul 17 '05 #5
Hello,

On 10/05/2004 06:26 PM, toufik toufik wrote:
Is it possible to hide a source code PHP in order to protect it,
I mean, I'm developpind a web solution for customers and I don't like that
the customer or the host see my code.


You may want to try RoadSend, the first and so far the only real PHP
compiler. It generates really executable code from PHP scripts, as
opposed to just encoded byte codes which is what PHP encoders do. Not
only it will protect your code irrevesibly but it seems extraordinarily
fast.

http://www.roadsend.com/

--

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
Jul 17 '05 #6
Thanks friends.

"toufik toufik" <to*****@sympat ico.ca> wrote in message
news:Kj******** ************@ne ws20.bellglobal .com...
Hi,
Is it possible to hide a source code PHP in order to protect it,
I mean, I'm developpind a web solution for customers and I don't like that
the customer or the host see my code.

Thanks.

Jul 17 '05 #7
toufik toufik wrote:
Is it possible to hide a source code PHP in order to protect it,
I mean, I'm developpind a web solution for customers and I don't like that
the customer or the host see my code.


Here's a FREE solution that I have installed:

http://sourceforge.net/projects/turck-mmcache/

I have yet to actually test it yet, but it looks good to me so far.
(I'll know more when I start testing it.)

--
Justin Koivisto - sp**@koivi.com
http://www.koivi.com
Jul 17 '05 #8
Don't use an obfuscator - there are several programs available on the
web (BeautifyPHP, and a class or two at phpclasses.org) that can
recover obfuscation.
Jul 17 '05 #9

"toufik toufik" <to*****@sympat ico.ca> wrote in message
news:Kj******** ************@ne ws20.bellglobal .com...
Hi,
Is it possible to hide a source code PHP in order to protect it,
I mean, I'm developpind a web solution for customers and I don't like that
the customer or the host see my code.


You can obfuscate the source code.
This makes it typically unreadable by people.

Some claim that if you prettyprint an obfuscated
code, you can read it. Not if the comments
are gone, and the variable names are scrambled.
Then it becomes a hard problem in reverse-engineering.

See http://www.semanticdesigns.com/Produ...bfuscator.html.
--
Ira D. Baxter, Ph.D., CTO 512-250-1018
Semantic Designs, Inc. www.semdesigns.com
Jul 17 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
11206
by: Daylor | last post by:
how can i protect my code from decompile ?
29
2786
by: Frank Millman | last post by:
Hi all I am writing a multi-user accounting/business system. Data is stored in a database (PostgreSQL on Linux, SQL Server on Windows). I have written a Python program to run on the client, which uses wxPython as a gui, and connects to the database via TCP/IP. The client program contains all the authentication and business logic. It has dawned on me that anyone can bypass this by modifying the program. As it is written in Python, with...
6
4451
by: Bill | last post by:
Hey, is it possible to protect ASP code in some way? Can it be compiled, or otherwise protect the source somehow? Thanks, -Bill.
3
3331
by: Narlen | last post by:
Hi there, I don't know much about web design but I proudly managed to password protect a page on my site. Later I realized that everyone looking at the source in any web browser can see the password. Is there a way to improve this code so that instead of the password people viewing the page source would only see bullets instead of the characters of the password (or hide it alltogether?) Thank you for your help.
2
4121
by: weixiang | last post by:
Hi, After compiling with C#, the target exe file can still be reverse-compiled by ildasm. Is there someway to protect code from that method? I already used strong-name in my module. Thank you in advance, weixiang
15
5088
by: Fady Anwar | last post by:
Hi while browsing the net i noticed that there is sites publishing some software that claim that it can decompile .net applications i didn't bleave it in fact but after trying it i was surprised that i could retrieve my code from my applications after i compile it so i need to know to prevent this from happening to my applications Thanx in advance
3
1919
by: yservel | last post by:
Hi everybody. I was just wondering how did editors were protecting their source code from decompilers and reverse engeneering. I heard one method of source code protection was by obfuscation: http://en.wikipedia.org/wiki/Obfuscated_code Does every editor use Obfuscation? How does large software editor like Microsoft protect their source code? Do they manage to protect their source code?
7
4400
by: --== Alain ==-- | last post by:
Hi, Using the .NET reflector tool, i know that a DLL or EXE developed in ..NET platform can be decompiled and therefore code is available for all. I would like to know if exist a way how to avoid tools like .NET reflector to decompile your code or at least to avoid people to see clearly the code of you DLL or EXE ? thanks a lot,
4
569
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I protect my javascript code? ----------------------------------------------------------------------- With clientside Javascript you can't as your code is distributed in source form and is easily readable. With JScript, there is the Script Encoder (see MSDN), but this is nothing more than obfuscation. Disabling the right mouse button also does...
0
9636
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10138
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10074
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8961
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7485
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6724
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5373
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5503
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2869
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.