
Originally Posted by
simoncpu
Here's a win-win solution bro:
Just release your source code under the BSD license. Under this license, your employer (?) is free to modify and distribute the program with or without the source code as long as you're given credit. You would still retain, however, the freedom to modify and distribute the program yourself.
For more info:
Open Source Initiative OSI - The BSD License:Licensing | Open Source Initiative
I'm not sure but I think this license also indicate that you are not responsible for any risks your program will cause after it is modified which is great, in short, I'm not to be blamed when someone modifies my code and explodes.
As to protect my investment, I will sell it with agreements and conditions. Pay me so I can rebuild my business back and to venture to a different project. This all of course depends on what is the current situation and contracts, etc.