0

Suppose that someone develops a web application, and found a piece of code that they would like to add to their server. But that code is licensed under the GPLv2 license. Does that mean that if they add that code, then the whole server code will have to be open source and free to use?

Can they use this code without having to share their private server code?

1
  • Welcome to Law Stack Exchange. Please keep in mind that this website can not and does not answer questions asking for personalized legal advise. One person already voted to close this question for that reason. I therefore rewrote your question to ask for a hypothetical situation. But keep in mind that any answers you receive are not legal advise! For example, there might be details you forgot to mention in your question which completely change the situation and could mean that the answers you receive are wrong under your particular circumstances.
    – Philipp
    Jul 2, 2021 at 10:04

1 Answer 1

1

This is explained in the GPL FAQ section "Does the GPL require that source code of modified versions be posted to the public?".

The GPL does not require you to release your modified version, or any part of it. You are free to make modifications and use them privately, without ever releasing them. This applies to organizations (including companies), too; an organization can make a modified version and use it internally without ever releasing it outside the organization.

But if you release the modified version to the public in some way, the GPL requires you to make the modified source code available to the program's users, under the GPL.

Thus, the GPL gives permission to release the modified program in certain ways, and not in other ways; but the decision of whether to release it is up to you.

In the worst case, the server code will have to be open source and free to use for anyone it is being distributed to. So when they give that server software to someone else, then that someone else has to receive it under the terms of the GPLv2. But when they only use it themselves on their own servers, then they can keep the sourcecode and rights to themselves.

Using a software by connecting to it via network is not considered distribution. That's a loophole covered by the AGPL license.

For more information on how the GPL works, I recommend the GPL FAQ.

1
  • 1
    If you give one or several third parties the server code, together with the source code, and the GPL license, then nobody else has rights against you, but the third parties can do whatever the GPL license allows. If you give one or several third parties the server code under the GPL license, without source code, then you are now obliged to give the server code to anyone asking for it. If you give the server code to third parties without the GPL license, you commit copyright infringement against the copyright holder.
    – gnasher729
    Jul 4, 2021 at 13:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .