This question is related to a previous one I've asked, but this aspect felt broad enough to deserve its own space.
I have a web site where others contribute code and I am in need of an open source license that accomplishes 2 goals:
- Conveys to viewers of the site that all source code they see is free for any use.
- Informs contributors (whose code is going to be used by viewers) that by submitting code they agree that (A) the code they post will be free to use, that (B) they cannot break any rules by posting it, and that (C) the site itself cannot be held liable for code posted in violation of (A) & (B)
Let's say goal 1 is accomplished by something like the Creative Commons BY license 3.0. However, in reading through the license, I am not sure it accomplishes goal 2.
- Is this an effective license given the two goals above?
- If not, what additional licenses are appropriate here?