Hi Ryan,

namotco wrote:
> I have a Mason site.  I want to give it to someone else to put on 
> their own server, but I don't want them to see the perl code.  Instead 
> I want to compile perl (or do something to it) so that they can not 
> change the site and any changes would have to be made by me since I 
> retain the original perl source (which would require recompiling after 
> I made the changes...).


Something I thought of just now is something I just saw last week.  I 
was looking for some Javascript code and, of course, since it's client 
side, you cannot hide the source.  I saw one site that sold code and 
provided a free version, which I thought was strange.  The difference 
was that the free code is undocumented, purposely obfuscated, and white 
space removed.  When I saw it, it looked awful.  I can imagine someone 
who needed it to spend the $30 USD or so to see it with proper spacing, 
comments, etc.

Anyway, if you can't prevent someone to see your code, you can consider 
just making the code very hard to maintain.  Even writing a script that 
renames variables from "count" to single alphabetic characters like 
"a".  From personal experience reading someone else's code, I suggest 
mixing the letter l and the number 1.  After a late night programming, 
"l = l + 1" looks like whatever you want it to be.  ;-)

Not exactly what you wanted, but hope it helps...

Ray



-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to