Having a web site that may contain source code posted by users, I am in need of a completely obligation free license, and a statement by which users agree code posted by them is allowed to be addressed under such license.
This is the most permissive I have found:
http://creativecommons.org/licenses/by/3.0/ I am looking for one that is free of any conditions, not even attribution.
Can anyone direct me to such a license?
EDIT: The website will contain content contributed by others. My main concern is letting users agree the work they post is free for any use and that they are allowed to post it in such a way (e.g. they are not posting commercially protected code). Does the CC license above state that? Does this protect me from any kind of lawsuit?
Software Legal Software Licensing
The CC0 copyright waiver which @Eric Jain linked to is a good choice (be sure to read their FAQ). It's a more 'modern' solution, so it mentions issues like patents. However, the MIT license (@Ask Bjørn Hansen) or 2-clause BSD license (@pdjota) are more common, and more well understood by your target audience.
Just using an open-source license will probably not grant you 'safe harbor' status under the Digital_Millennium_Copyright_Act. I'm no lawyer, but I would think you will at least need a well made "Terms of Use" document, and a working infringement notification & takedown process.
I'd suggest you start by reading the questions tagged terms-and-conditions, and have a look at the relevant answers from Dana Shultz. And after that, please go see a qualified lawyer specialized in this area of law.
Instead of trying for a license how about stating that only code in the public domain may be posted?
Further as part of the signup process have each user agree that they will not post any code that is not in the public domain and that they have full permission to upload whatever code that they do.
I think what you are trying to do is a double-negative of sorts; the entire reasoning behind licensing is to give credit where it is deserved. However, if you force the user to sign an agreement (something along the lines of : 'i hereby relinquish all rights to this code') then you wouldn't need a creative commons license. The downside of this is that you would be required to keep all of that data in case of a lawsuit.
So my final suggestion is to just keep the CC license that you have found and, to put it bluntly, just not care if other users don't link back to your page.
by far the less restrictive licence is Public Domain but it is not so popular.
Commons is not a bad choice for reusing source, remember for instance that all questions and answers in this site are under commons 3.
Nevertheless, I would recommend you to take a look at:
http://www.opensource.org/licenses/category And IMHO, even if BSD and MIT licence require you to include or reference the disclaimer.
http://www.opensource.org/licenses/MIT Or ever simpler
http://www.opensource.org/licenses/BSD-3-Clause These are widely used and accepted licences by different communities of developers and allow you to any type of commercial, non-commercial what-so-ever use.
Hope it helps,
The MIT license is nice. That being said, maybe what you need is a copyright assignment. You don't say what your site does. More details will make it easier to give you a good answer.
Edit: It definitely sounds like what you need is appropriate terms and conditions and/or some sort of contributor agreement. You are concerned about getting them to state/agree that they are allowed to give you the code, and that they agree to the code being used as your site uses it. The agreement should explicitly allows your site to re-post what they posted and under what terms (can you re-license it? Can they remove the content again, what happens then? etc). Maybe see what stackoverflow does? If you want to be more formal about it, then the Apache Software Foundation has a contributor agreement along the lines of what you talk about.
As a side note I didn't think the CC licenses were particularly appropriate for source code.
Check out the Unlicense.
The WTFPL license of Sam Hocevar is well known in the open source community as probably the most permissive license. But its name can worry your users...
I would suggest checking out several different types of collaboration community software sites. Open Source and distribution can be defined differently for what your business model entails. Open source is different then free software. To ensure you meet either definitions then I would make sure your site meets the licence requirements. Hosting sites like Codeplex (Microsoft), Launchpad.com, and SourceForge.net would be good to check out sense they deal with these issues.