Tell me more ×
Answers OnStartups is a question and answer site for entrepreneurs looking to start or run a new business. It's 100% free, no registration required.

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?

share|improve this question
Possible duplicate of answers.onstartups.com/questions/34676/… – bneely Jan 16 '12 at 19:48

9 Answers

up vote 1 down vote accepted

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.

share|improve this answer
A CC license doesn't require keeping data in case of lawsuit? – Leo Jan 16 '12 at 10:37
Please see edit above for further clarification of the question – Leo Jan 16 '12 at 10:42

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.

share|improve this answer
Do you know where I can find an official statement? – Leo Jan 12 '12 at 1:50

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.

share|improve this answer

CC0

share|improve this answer

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.

share|improve this answer

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,

share|improve this answer

Check out the Unlicense.

share|improve this answer
How do I apply this license to other users who are about to post code? – Leo Jan 17 '12 at 22:42
How do you apply any license to other user's code? Ask them to tick a box before posting. – Dmitry Leskov Jan 19 '12 at 9:24

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...

share|improve this answer

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.

share|improve this answer
Please see edit for further clarification – Leo Jan 16 '12 at 10:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.