A friend of mine is on the verge of publishing an MSIL code obfuscator. This has generated a fair amount of interest in intellectual property issues on the DOTNET-L. There are lots of folks who support the idea of code obfuscation, and lots of folks who don’t. In the end, (and no offense to Brent, I really want to see him succeed) I think that code obfuscation is a red herring.
People pay lots of lip service to code obfuscation, but when it comes time to pony up cold hard cash for a product, they wilt. This has been the case in the Java world, where code obfuscators and decompilers run rampant. Even the best of the code obfuscators in the Java world have a hard time supporting even a small development shop.
The very best a code obfuscator can do is get you back on par with optimized C++ code. But it can’t even really do that since it’s far easier to read MSIL instructions than x86 instructions (unless your name is Matt Pietrek).
A good software engineer can always construct a compatible product by examining the inputs and outputs of someone else’s product. How the internals of that product are implemented are not really of concern to them. Think about it: how many times have you actually pulled useful code out of an open source product which has the source code, comments and documentation available?
So how does someone protect their intellectual property? Using a punitive measure as opposed to a preventative measure. That’s right, companies sue people. Unfortunately, this also means that larger companies with deeper pockets can outlast smaller companies with not-so-deep pockets. But such is life … it ain’t fair ;)
This also partly explains why companies (especially large companies) obtain software patents: to use as a defense mechanism in case someone else comes knocking to try and claim their IP as their own. It is rare that they are used as an offensive weapon except in the cases of companies who are merely fronts for lawyers who scare large companies into paying royalties for patents that they purchased (i.e. http://www.e-data.com/)