A license which only grants private use
<p>Say you have a software company, and you would like to make all the source code you provide FOSS, as you want to allow your customers to be able to modify and learn the code of the software you provide. However, to avoid competition using your code to their benefit, you would like to only allow private use. So my question boils down to two parts.</p>

<p>First, is there a FOSS license that</p>

<ul>
<li>Permits private, but not commercial use</li>
<li>Is strong copyleft, such that all derivatives must be licensed under the same conditions</li>
<li>Otherwise allows modification and distribution, as long as there's no commercial gain involved</li>
</ul>

<p>Second, if there is or can be, what are the implications of such a license?</p>

<ul>
<li>Can the original company still use the original code? I would assume yes, as it's the copyright holder of all the original code</li>
<li>What about derived code by private individuals? I assume that under the terms stated above, the original company wouldn't be able to use it, unless such an exception is explicitly specified in the license</li>
<li>Would there be any other possible issues with such a license?</li>
</ul>

<p>This question was <a href="https://opensource.stackexchange.com/questions/5848/a-license-which-only-grants-private-use?noredirect=1#comment14657_5848">originally posed on opensource</a>. I have moved it here since I was told it doesn't fit their guidelines, and I wouldn't know of a better site in the network to post it on.</p>

<p>You can use any license that you like (unless you do some clearly illegal things). The license that you propose would mean that your software cannot be combined with most open source software. For example, the various GPL licenses don't allow a restriction "for private use only", so the software cannot be combined with GPL licensed software. </p>

licensing open-source-software