...

View Full Version : Encrypting and Protecting your PHP Code.



gc40
11-07-2007, 08:41 PM
I recently spent several weeks building a very detailed and extensive site for a client. After I completed it on their server, the client refused to pay me what I requested. I do not want to be a rough person and delete all the files on the server, I don't feel two wrongs make a right. However, I want to protect my scripting from other people getting access to it.

I am going to let the client have the website, however, I want to encrypt or encode or do something to the code so that it cannot be read without having a key or something.
Is there any software that can do this for me?

I use dreamweaver cs, is there an addon for it that I can maybe use?

Thank you!

Fumigator
11-07-2007, 09:20 PM
There are code obfuscation utilities out there (google php obfuscation) but if I were you I would definitely remove the website until you are paid. Two wrongs don't make a right, but one wrong should never be rewarded. It is not wrong for you to receive compensation for your work-- in fact, it is wrong for you to allow them to rip you off, thus you are allowing the 2nd wrong to occur.

Consider yourself the website repo man :)

aedrin
11-07-2007, 09:40 PM
I wanted to voice my agreement with what Fumigator said.

A non-paying client is a big issue, but encrypting/licensing your code will not work/help.

The question is, if you delete it off of their server will they have a backup copy restored? And do you still have access to the server?

I'm curious what kind of key element could be left out, or disabled in the website so that you can wait with enabling until full payment has been received.

I wonder if for this specific reason, the website should never be set up on the final server until the final payment was given. Develop it on a development server, then demo it to the client at that location. That way they can't take the code and not pay you.

Was there some kind of up front payment? Even if you do manage to take away their code, it sounds like you invested a lot of time and it would be a waste to see it disappear.

toddandrae
11-07-2007, 09:59 PM
Remove your content from their site. You can still use it in your portfolio or rebrand it and sell it to their competitor. I've done that a few times :)



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum