From: Ron M Date: 2006-06-22T00:42:34+09:00 Subject: Re: Protecting Ruby Code as Intellectual Property David Bailey wrote: > Short of removing all whitespace and running one's script a single block > of text, how can one protect one's code as intellectual property in, > say, a commercial environment? It seems this is as much a legal question as a technical one. The best ideas that come to my mind are: patents on your most important IP, NDAs with your customers, good legal review of your license agreements, etc. Note that lots of commercial software has source code available with the right legal documents in place[1]. > Is there a means to hide or protect code, or do you have to > port it to a language such as C or C++ in order > to do this? Thanks for your attention to this matter. Perhaps, but those will probably do little to protect your IP. In reality it'll be hard for people outside your organization to maintain your actual codebase in any language even if you provide all the source and detailed documentation to help them; and if all they want to do is extract particular algorithms, that's not hard to reverse engineer from binaries. [1] http://www.microsoft.com/resources/sharedsource/Licensing/GSP.mspx