I've done a project for a client and as part of the deal since they couldn't afford much we agreed that I own the code. however the server is in their name and they could go and steal the code. How would I avoid that? I would like only apache and me to be able to read the files! Any alternative solutions will be appreciated!
views:
74answers:
5
+2
A:
There are lots of code obfuscators out there.
- http://www.raizlabs.com/software/phpobfuscator/
- http://www.codeeclipse.com/
- http://pobs.mywalhalla.net/
Google for more.
Byron Whitlock
2010-07-12 20:26:18
raizlabs.com/software/phpobfuscator/ doesn't seem to work well (php5 classes)
Sirber
2010-07-12 20:32:53
A:
http://www.ioncube.com/ is pretty good and very difficult to reverse engineer. You can do single script conversions (for important functions, so if they deleted the file it'd break the site)
Kieran Allen
2010-07-12 20:34:15
A:
I am of the opinion that you write in your contract that you own the code and they cannot edit it in any way. The downside of course is, then you have to make all the changes, and you are on the hook if they go out of business because of you. But in addition to other suggestions and answers, I think you should make sure the contract stipulates what you want.
MJB
2010-07-12 20:34:41
I can accept being wrong, and I can accept not being optimal. But all I did was add to the other suggestions. Why the downvotes?
MJB
2010-07-12 22:29:00
+1 agreed. The contract must state it, but people cheat all the time.
Byron Whitlock
2010-07-13 02:41:04
@Byron: people cheat, but the threat of a lawsuit they HAVE to defend, win or lose, might not make it worthwhile.
MJB
2010-07-13 11:06:43