What is the best way to protect your code? Maybe placing the copyright information somewhere within the code is kind of useless as someone can always steal your open-source code and redistribute it.
Ordering a dedicated server and placing source files on it is also risky as the hosting provider can always get the stuff they want...
What other ways, if any, are effective to protect your code? I know that generating a key unique to a website's URL is one that would make others hopeless of stealing the code... but that's still not an ultimate solution as parts of the code can still be stolen... I'm talking about big projects being worked on like Voice over IP applications and other stuff we're currently working on.
Any ideas?