LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-20-2006, 07:50 AM   #1
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676
Blog Entries: 7

Rep: Reputation: 32
Securing my php code from being stolen !!


I need to install a php appliance I did in an office for trial on a winxp computer...is there a way to secure my code..so that it is not just copied from the server directory on the windows computer ??
I dont want them just to take the code, I want to make it unaccesible through the windows explorer..

I mean with physical access there is propably no complete solution...but something to at least hide the directory that contains my code..or encrypt it or so...?

Any suggestions are highly appreciated...
 
Old 01-20-2006, 08:37 AM   #2
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
There are a number of solutions most charge you for their efforts (Zend optimiser as an example) But I guess that you just want a little protection at no cost, so you may want to try the Alternate PHP Cache APC

graeme.
 
Old 01-20-2006, 08:49 AM   #3
xhi
Senior Member
 
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065

Rep: Reputation: 45
i know when you compile apache there is an option to disable directory display.. this may do it.. keep anyone from browsing and downloading the files.

though there probably is a more sophisticatd/specialized way that i am not aware of..

<edit> didnt see your post graeme.. </edit>

Last edited by xhi; 01-20-2006 at 08:52 AM.
 
Old 01-20-2006, 08:56 AM   #4
bobmclaren
LQ Newbie
 
Registered: Nov 2005
Location: Senoia, GA
Distribution: Latest Fedora
Posts: 14

Rep: Reputation: 0
I suppose you could ask that they implement NTFS, give you the administrator password, and allow you to change the password so that only you have admin access to it. Then, put the code into an NTFS protected directory, accessible only by admin, temporarily give IIS admin rights so it can serve up the content, and viola!
Of course, that's based on the assumption that they don't mind giving you admin access to their server, and allowing you to deny them access.

P.S. I didn't even know you could host PHP on a winxp server. How do you do that?
Oh, that brings me to another option! Maybe you could boot to Knoppix, host a temporary PHP site, and secure the docs through linux!
 
Old 01-20-2006, 11:00 AM   #5
ftenario
Member
 
Registered: Jul 2003
Location: Camarillo, CA
Distribution: Debian
Posts: 48

Rep: Reputation: 15
Try ioncube php encoder. They have a demo on their website. Try googling it. I bought their software but havent really deployed anything yet since our app is still under development. But it works in my development server
 
Old 01-20-2006, 11:12 AM   #6
ALInux
Member
 
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 676

Original Poster
Blog Entries: 7

Rep: Reputation: 32
Thanks a million for all the comments you gave me......Ive got all the info I need to google in-depth...for the solutions you proposed. As for you bobmclaren...google for wamp and download it, it will provide an Apache MySql PHP platform on windowsXP.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
securing php, apache and mysql javier_ccs Linux - Security 5 10-18-2005 11:08 AM
cisco kid and the stolen code jamaso General 3 05-19-2004 12:10 PM
Stolen Code HCour General 5 02-03-2004 02:02 PM
securing php files jayakrishnan Linux - General 8 12-29-2002 02:08 AM
Microsoft’s network is hacked - Intruders believed to have stolen code for software jeremy General 3 11-26-2000 08:21 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration