473,406 Members | 2,954 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

source code security

hi frns
i m a new member of the group.
just wanted to ask a question

what tools or methods do we have to secure the source code of php after
the application is ready. or else anyone could tamper with the source.
if we put it directly on to the server.
is there any method to make a set up to install application

thanx in advance

Josh

Jun 10 '06 #1
5 1382
>what tools or methods do we have to secure the source code of php after
the application is ready. or else anyone could tamper with the source.
If just anyone can tamper with the source code of anything stored
on your server, then shut down that server and don't bring it back
up on the net until you've secured it. It's soon going to be
spreading viruses and SPAM if it's not already.
if we put it directly on to the server.
is there any method to make a set up to install application


No matter how you install stuff on an insecure server, it's still
insecure.

Gordon L. Burditt
Jun 10 '06 #2
Can anyone upload to the directories where your code resides?
Is system sensitive data (database passwords etc) stored outside the
webroot?

Josh wrote:
hi frns
i m a new member of the group.
just wanted to ask a question

what tools or methods do we have to secure the source code of php after
the application is ready. or else anyone could tamper with the source.
if we put it directly on to the server.
is there any method to make a set up to install application

thanx in advance

Josh

Jun 10 '06 #3
If you own and control the server you can keep people from getting to the
source by simply not giving them premisions to read it. If you are putting
your php source on someone else's server, a server where they control
permissions consider the source code as given away. The best way to protect
your code is to put it on your own server.

Kilo Bravo

"Josh" <vi**********@gmail.com> wrote in message
news:11**********************@u72g2000cwu.googlegr oups.com...
hi frns
i m a new member of the group.
just wanted to ask a question

what tools or methods do we have to secure the source code of php after
the application is ready. or else anyone could tamper with the source.
if we put it directly on to the server.
is there any method to make a set up to install application

thanx in advance

Josh

Jun 10 '06 #4
Josh wrote:
hi frns
i m a new member of the group.
just wanted to ask a question

what tools or methods do we have to secure the source code of php after
the application is ready. or else anyone could tamper with the source.
if we put it directly on to the server.
None - but merely not having access to the source code does not provide
intrinsic security. C and Java are compiled but can still be
hacked/subverted/reverse engineered - even on relatively secure
architectures (e.g. non-executable stacks). What you are really asking
about is Digital Rights Management which is a real can of worms. If it were
easy everybody would be doing it.

There's a couple of packages which make it difficult to read the code
including Zend IonCube and Turck.
is there any method to make a set up to install application


Yes - there's a few deployment tools for PHP, I believe it's possible to use
Apache Ant, PEAR, and probably more. Since its just files with PHP,
deployment is not a big deal - like it is for Java - more just a case of
copying over the files - so most cluster file systems or even rsync may
suffice.

C.
Jun 10 '06 #5
> what tools or methods do we have to secure the source code of php after
the application is ready. or else anyone could tamper with the source.
if we put it directly on to the server.
You might want to take a look at the various encoders out there. Zend
Encoder immediately comes to mind but there are a few others. Do a Google
search and see which one best fits your needs. But, keep in mind, your
application still isn't 100% secure even if it is encoded/encrypted. An
enterprising hacker will always find a way to make your code do unintended
things. The only thing you, as a programmer, can do is to make that as hard
a task as possible.
is there any method to make a set up to install application


In what way to you want to "setup" your application? Do you mean set
variables, paths, etc? If so, just take a page from other applications and
have a page and script that allows the user to do this and autodetect what
you can.

HTH,
Anthony Papillion
Advanced Data Concepts
URL: http://www.adcl.biz
PHONE: (918) 926-0139

--
Posted via a free Usenet account from http://www.teranews.com

Jun 12 '06 #6

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

Similar topics

0
by: Unigroup of New York | last post by:
Content-Type: multipart/mixed; boundary="------------C465DF38DCB38DD2AF7117E0" Lines: 327 Date: Tue, 15 Feb 2005 23:36:38 -0500 NNTP-Posting-Host: 24.46.113.251 X-Complaints-To: abuse@cv.net...
5
by: Jiri Barton | last post by:
Hi, I'd like to be able to distribute some python modules of my system (plugins) without the source. So far, I have done this by including only the *.pyc files. However, I have recently found...
29
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,...
2
by: Maellic | last post by:
Hi, I'm currently updating a website written with ASP.NET. The original programmer is overseas, there is no documentation, and files are all over the place. Here is a code snippet from one of...
6
by: Jay | last post by:
Is it possible to view the source code for .NET classes? Thanks. Jay
31
by: darwinist | last post by:
*With manual. http://darwinist.googlepages.com/htmldesktop.html Please criticise or contribute.
3
by: D | last post by:
Hello everyone I have developed a web application using .asp to access a data source on a different server than where my .asp files are stored. I've tried to determine how to establish this...
3
by: Lucanos | last post by:
Hi All, Hoping for some direction here (I have searched, without avail, for a solution already). I was toying with trying to find a way whereby I could have a single PHP file, and then...
4
by: aSoundMind | last post by:
Hi there, I recieve this error Server Error in '/integrate' Application. -------------------------------------------------------------------------------- Configuration Error Description: An...
6
by: Erwin Moller | last post by:
Hi, Maybe this is old news for some of you, but I just found this: http://blogs.zdnet.com/BTL/?p=9847 It will include a JavaScript Virtual Machine built from scratch. Regards, Erwin Moller
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...

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.