Copyright or protecting my code written in open source language
<p>We have a business that has become successful, the platform is a very customized build of Drupal where we integrate many different APIs and have a lot of custom code, mostly in PHP. Drupal and PHP are covered by the MIT license. </p>

<p>We talked to a lawyer and they said because it is the GPLv2 license if someone requests the code we have to give it to them, can we copyright any of this code? How can we protect it. </p>

<p>I know so many startups and platforms are written with open source software so I'm sure there is a clear answer to this but I can't seem to find one on the web. </p>

<p>EDIT We are using drupal which is the GPLv2 license.</p>

<p>Ultimately, the issue presented is as much a technical one as a legal one.</p>

<p>You can protect software written in a programming language that you don't own the rights to via copyright. Indeed, the vast majority of copyrighted programs are written in programming languages not owned by the author of the copyrighted work.</p>

<p>You can't meaningfully protect software that is subject to a creative commons or MIT license for commercial purposes.</p>

<p>The question then becomes, is the material you want to protect simply software written in an open source programming language, in which can you can protect the software, but not the underlying language, or is it a mere implementation of open source software that is not so transformative that its character as open source software (or a derivative work of open source software) is overcome.</p>

<p>This would be a question of fact for a fact finding at a trial and would require considerable technical expertise and understanding to evaluate. </p>

<blockquote>
  <p>I know so many startups and platforms are written with open source
  software so I'm sure there is a clear answer to this but I can't seem
  to find one on the web.</p>
</blockquote>

<p>There aren't a lot of clear precedents governing where the line should be drawn. Software of any kind you would recognize as such has only existed for about 50 years. <a href="http://I%20know%20so%20many%20startups%20and%20platforms%20are%20written%20with%20open%20source%20software%20so%20I&#39;m%20sure%20there%20is%20a%20clear%20answer%20to%20this%20but%20I%20can&#39;t%20seem%20to%20find%20one%20on%20the%20web." rel="nofollow noreferrer">Open source software</a> has only existed for 20-30 years depending upon how you count it. And, open source software has only had widespread commercial use for an even shorter time period.</p>

<p>This is an incredibly short among of time in terms of legal history, and it doesn't help that business to business copyright litigation doesn't take place at all in state courts and makes up a pretty small share of the overall federal court docket. And most of the copyright cases that are brought in the federal courts are very simple ones. For example, <a href="http://blogs.reuters.com/alison-frankel/2016/06/14/notorious-porn-copyright-troll-committed-fraud-on-courts-9th-circuit/" rel="nofollow noreferrer">as of the year 2015</a>, most copyright lawsuits in the U.S. merely alleged that anonymous Internet users downloaded pornography without permission to do so:</p>

<blockquote>
  <p>[T]he adult website Malibu Media is a prodigious enforcer of its
  copyrights. According to law professor Matthew Sag of Loyola
  University in Chicago, Malibu alone was responsible for nearly 40
  percent of all copyright filings in federal court in 2015. Litigation
  against anonymous downloaders, by Malibu and other copyright
  enforcers, made up nearly 60 percent of the federal copyright docket
  last year.</p>
</blockquote>

<p>In 2016, there were <a href="https://trac.syr.edu/tracreports/civil/445/" rel="nofollow noreferrer">fewer than 4000 copyright infringement cases</a> filed in the entire U.S. (in all media). And, the percentage of civil cases that go to trial at all in the federal courts (rather than being resolved by a settlement or default judgment) is very small to start with, with many of the cases that are resolved on the merits not appealed. There are <a href="https://copyrightlitigation.blogspot.com/2016/01/federal-court-statistics-on.html" rel="nofollow noreferrer">fewer than 400 appeals per year</a>, nationwide, in copyright, patent and trademark cases combined, and patent and trademark cases make up and outsized share of that total because the amount of money at stake is higher on average in patent and trademark cases than in copyright cases, and many copyright cases involve copyrights in media other than software. </p>

<p>Maybe there are a dozen or two software copyright appeals a year these days. The figures from the last few years, however, are much, much higher than they have been historically, particularly in the area of software copyrights, which is why the case law is so thin on so many more sophisticated areas of software copyright law.</p>

open-source-software