I posted some open source code on soureforge, and someone got in contact with me
ID: 659617 • Letter: I
Question
I posted some open source code on soureforge, and someone got in contact with me stating they intended to use my algorithms for a commercial product. I don't want this to happen, what should I do? According to us copyright.gov site:
"Your work is under copyright protection the moment it is created and fixed in a tangible form that it is perceptible either directly or with the aid of a machine or device."
Which seems to grant some legal protection by doing nothing. I looked at getting an official copyright from them, and its more than I'd like to spend ($135). Is that what I need to get for my work? Or are licenses a cheaper and safe/legal alternative? Or something else? Or nothing at all?
Explanation / Answer
There is no need to register your code - in almost all countries (Bern convention) work you create belongs to you (or your employer!)
Registering at the US copyright office just provides an official way for you to state your ownership it also gives you some extra benefits when it comes to suing people in the USA (it means they can't claim in court that they didn't know and you get extra damages)
You are free to tell individual users what they can and can't do with your code - so you could simply state that you do not allow commercial use, or that you do allow Mr A but not Mr B to use it.
The point of licenses like the GPL is to make it easier for people to share code without having to worry about all this. The GPL states that you can take my code and use it - but you then have to pass it on to anyone else who wants it, along with your own additions and improvements. However it doesn't limit what the other person can use it for, commercial or otherwise (known as the 'sharks with laser beams clause' - if you want to use my GPLed code for your death ray then I can't stop you)
Other licenses are more or less restrictive - eg. BSD essentially says you can take the code and use it, keeping it to yourself.