On 06/08/12 03:03, Lightee wrote:
Dear CakePHP gurus,

I have an upcoming project with a stingy customer who looks like the not-willing-to-pay-up type. My cakePHP code will be deposited to his web server for testing before payment. I want to obfuscate my code so that he cannot steal it and then find all sorts of excuses not to pay me.

May I know if there is a way to obfuscate my cakePHP code such that someone who has access to the webserver and steals it will have trouble reading it?

Thank you.
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
I would be tempted to go the usual javascript route and simply remove all whitespace and comments from your code and replacing meaningful variable names with meaningless ones. https://github.com/kcampion/PHP-Compactor.git is a nice starting point and as an added bonus, the compacted script will obviously load a little faster.

There are some heavy weight systems around like Zend Encoder but if you simply make it so that it will take the client just as long to untangle what you have written as it would have done to write it themselves then I would think they will be unlikely to steal it if the project is of a decent size.

Steve.


--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to