473,513 Members | 7,598 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to protect coding & database

13 New Member
hello,

i am doing a web project.(Intranet Application)
Is there any way to secure the coding and database, so that the project works only on his machine (i.e local server) ...

Things i need:

1. hiding the php/javascript coding part.
2. hiding database structure and contents. (strictly database should be accessible only via project)

3. copy & paste the project to other machine should not work..


somewhat similar like window application, where the project exe is given to client

PLEASE GUYS I NEED YOUR SUGGESTION ....
Apr 20 '07 #1
5 1454
tolkienarda
316 Contributor
well php can't be viewed by users to a website. it is possible to put some protection on .js files but in the end no .js information is realy safe. as far as database information it seems like the hackers are always one step ahead but try to protect against basic injection by always using htmlspecialchars() and addslashes() to data gotten from form fields.

i hope this helps

eric
Apr 20 '07 #2
Deejam
13 New Member
tolkienarda thanks for your reply,

here , i have to give the total project code to the client...
need to know how to secure (coding and database) from copying to other company...
Apr 21 '07 #3
sumaiya
43 New Member
I know the best way to hide php coding. You can use Zend encoder (http://www.zend.com/products/zend_guard). Zend encoder or guard hides the php code and can even create license like windows application. But the catch is it is not free and u need to have zend optimizer to run any application which is encoded by the zend encorder.

But its worth the trouble.
Apr 21 '07 #4
Atli
5,058 Recognized Expert Expert
JavaScrip can never be completely hidden from client browsers.
PHP will never be sent to browsers but can easilly be copied from the server.

Databases however can be configured so that only local connections can be made, forcing anybody who wants to access it to do so from the server computer. MySQL for instance is configured like that by default.

You could use the database to store the PHP code and have your index file read it from the database at runtime, which would make it impossible for anybody to see anything but the code you use to connect to the database, which is useless unless you have access to the server machine.
Apr 21 '07 #5
Deejam
13 New Member
sumaiya and Atli thanks for your reply
Apr 23 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

5
1637
by: Martin Franklin | last post by:
I have a simple 2 page frameset that I am trying to protect using asp. I've included the following code listed below at the top of each page including the frameset page in an attempt to protect...
11
3342
by: siliconmike | last post by:
Is there a way to protect data files from access by root ? I have a data-centered website and would like to protect data piracy from any foot-loose hosting company employee. Any ideas? ...
3
13989
by: Parham | last post by:
Hello, How to protect structures(Tables,SP,Views and Functions) of a SQL Server Database?(Password protect a database file) I have a SQL database that will distribute with my application, I want...
1
3834
by: jarit | last post by:
Hi, Found these coding guidelines for C#, HTML, Javascript, Java, HTML, PL/SQL, T-SQL, VB and VBScript. Well written and free to download. www.demachina.com/products/swat Jeroen
1
4552
by: Giganews | last post by:
I have an Access 97 database in which I am running an Excel macro through automation. The macro in Excel is as follows: Worksheets("Sheet1").Protect Password:="****", DrawingObjects:=True,...
1
1685
by: R Reyes | last post by:
Hello All, I'm always looking for ways to improve my code. Most of the time (whenever I'm working on a project) I write a bunch of functions. Then after the project is finished, I put all the...
2
3681
by: itamtodd | last post by:
How Do I License & Protect My Software? I am in the process of developing a small program that I will be trying to sell to different institutions. The program is written in VB and uses an...
22
5768
by: teejayem | last post by:
Hi, I am new to programming with databases and was wanting some help. Is there any way to password protect an access database and access sent sql commands to it via vb.net code? Any help...
3
2941
by: jimrand | last post by:
Hi I want to protect an MS Access 2007 database I have created so that users cannot use anything other than the forms I have put in place. I have been able to create a login page which requires...
1
7094
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
7519
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
5677
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,...
1
5079
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...
0
3230
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...
0
3218
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1585
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
796
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
452
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...

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.