Looking for most permissive license for human readable source code


1

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

asked Jan 16 '12 at 12:25
Blank
Leo
120 points

9 Answers


2

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.

answered Jan 16 '12 at 22:09
Blank
Jesper Mortensen
15,292 points

2

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.

answered Jan 11 '12 at 12:02
Blank
Jonny Boats
4,848 points
  • Do you know where I can find an official statement? – Leo 8 years ago

1

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.

answered Jan 16 '12 at 12:46
Blank
Mynameisausten
76 points
  • A CC license doesn't require keeping data in case of lawsuit? – Leo 8 years ago
  • Please see edit above for further clarification of the question – Leo 8 years ago

1

CC0

answered Jan 16 '12 at 13:31
Blank
Ejain
163 points

0

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,

answered Jan 16 '12 at 13:13
Blank
Pdjota
532 points

0

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.

answered Jan 16 '12 at 20:01
Blank
Ask Bjørn Hansen
141 points
  • Please see edit for further clarification – Leo 8 years ago

0

Check out the Unlicense.

answered Jan 17 '12 at 18:37
Blank
Dmitry Leskov
606 points
  • How do I apply this license to other users who are about to post code? – Leo 8 years ago
  • How do you apply **any** license to other user's code? Ask them to tick a box before posting. – Dmitry Leskov 8 years ago

0

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

answered Jan 18 '12 at 00:27
Blank
Coren
101 points

0

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.

answered Jan 11 '12 at 13:42
Blank
Software Carpenter
101 points

Your Answer

  • Bold
  • Italic
  • • Bullets
  • 1. Numbers
  • Quote
Not the answer you're looking for? Ask your own question or browse other questions in these topics:

Software Legal Software Licensing