PHP Encryption

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
vivekjain
Forum Commoner
Posts: 76
Joined: Thu Jan 08, 2004 12:38 am

PHP Encryption

Post by vivekjain »

Hi,
We are developing an intranet application using PHP, MySQL. We need to install the application on the client's system. We need to copy the entire source codes on their system, so is there any way that they cannot view the source codes, or can it be encrypted so that the client cannot view them or modify them? Kindly let me know on this. Thank you.
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

vivekjain
Forum Commoner
Posts: 76
Joined: Thu Jan 08, 2004 12:38 am

PHP Encryption

Post by vivekjain »

Thanks for the reply. The PHP encoders are for sale, is there any way that I can do it for free. I mean any technique that could be used?
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Re: PHP Encryption

Post by Roja »

vivekjain wrote:Thanks for the reply. The PHP encoders are for sale, is there any way that I can do it for free. I mean any technique that could be used?
No.
User avatar
pleigh
Forum Contributor
Posts: 445
Joined: Wed Jan 19, 2005 4:26 am

Post by pleigh »

y not share your codes to your client?after all, you are using a an open system
User avatar
CoderGoblin
DevNet Resident
Posts: 1425
Joined: Tue Mar 16, 2004 10:03 am
Location: Aachen, Germany

Post by CoderGoblin »

Depends on the contract between the two parties. It is normal however that a client buys the software. That includes the source. I am not sure what the "legal" situation is if it is not set out in the contract but most clients like having the source code so if modifications are required they are not stuck with the original supplier. Of course any changes to the code outside of the supplier may invalidate any support.
Roja
Tutorials Group
Posts: 2692
Joined: Sun Jan 04, 2004 10:30 pm

Post by Roja »

CoderGoblin wrote:Depends on the contract between the two parties. It is normal however that a client buys the software. That includes the source.
Actually, thats quite unusual in proprietary (ie, non-free/open source "FOSS") software. In almost every case in the traditional software industry, you buy a closed-box product. No source, no path forward. Thats one of the things that makes FOSS so compelling.
CoderGoblin wrote: I am not sure what the "legal" situation is if it is not set out in the contract but most clients like having the source code so if modifications are required they are not stuck with the original supplier. Of course any changes to the code outside of the supplier may invalidate any support.
Thats one of the driving points of FOSS. In traditional software, you don't get to make modifications. When was the last time you were able to fix a bug in Windows? Right, never.

As you said, it all depends on the contract. The contract may not allow them to make changes, but they can have the source. It may not allow them to have the source at all (like Windows). The list goes on.. it all depends on what you agree to.
Post Reply