Skip to content

What is a software license and what does it grant?

The contract by which the code's owner grants a conditional right to use the software, never its ownership.

A software license is the contract by which the copyright holder grants someone else permission to use, copy, modify or distribute their code, under written conditions. The point almost no source spells out is that you do not buy the software as a work: you buy rights over a copy, and their limit is the substance of the deal. An open source license grants many permissions in exchange for few conditions, a proprietary one grants few in exchange for payment, but the legal form is the same and neither transfers ownership of the copyright. The license chosen by whoever releases the code decides what the recipient may do with it: resell it, host it as a service, embed it in a closed product or merely read the source. It is an economic decision dressed up as a legal formality.

On the individual copy the European rule is subtler than the usual telling: for the Court of Justice (case C-128/11, UsedSoft) granting a perpetual right of use against a one-off payment matching the copy's economic value is a sale, which exhausts the distribution right, and calling it a license in the contract does not change that. Subscriptions and term licenses fall outside the rule.

See also: Open source license riskThe legal risk that an open source library, through its license, contaminates a proprietary product.

Why different families exist

License families are not a legal catalog: they are the incentives of whoever releases the code.

FamilyWhat it grantsWhat it asks in returnClosed productManaged service
Permissive (MIT, Apache 2.0)Use, modification, distributionAttributionYesYes
Strong copyleft (GPL)The same freedomsSource of the distributed derivativeNoYes (AGPL: no)
File-level copyleft (MPL)The same freedomsSource of the modified files onlyYesYes
Library copyleft (LGPL)The same freedomsLibrary source, replaceable by a modified buildYes, if the library stays replaceableYes
Source-available (BSL, SSPL, Elastic)Reading and often modificationUsage limits set by the holderDepends on the clauseNo, unless commercially licensed
ProprietaryUse under the agreed termsPayment and audit complianceOnly if the contract allowsOnly if the contract allows
The license families compared.

The source-available shift

From 2018 onward several widely used infrastructure projects moved to source-available licensing: MongoDB to the SSPL, Elasticsearch to the SSPL and the Elastic License, HashiCorp's Terraform and Vault to the Business Source License. The stated reason is always the same: a cloud provider was offering that software as a managed service while giving nothing back. These licenses are not open source under the Open Source Definition of the Open Source Initiative, whose clause 6 forbids restricting use in any specific field of endeavor. A component analyzed as open source two years ago can carry different obligations today, and the movement does not run one way only: Elasticsearch added AGPLv3 back in 2024 and is open source again. Classic copyleft does not fire when software is merely run as a service, because no copy is distributed: the AGPL is the variant written to close that door, and it remains a recognized open source license.

An enterprise example

An Italian software house hosts a vertical platform for its customers in the cloud, built on a database adopted years earlier, when it was open source. The upstream project changes license: the new version forbids offering that product as a managed service to third parties, which is exactly what the platform does. There are three ways out, all expensive: stay on an old version with no security updates, migrate to a community maintained fork, or negotiate a commercial license. Not a single line of in-house code changed, yet the revenue model now depends on a clause written by someone else.

Why it matters for decision makers

On the proprietary side the bill arrives elsewhere: per seat, per core, per named user or per environment, with the audit clause that lets the vendor verify actual usage. A staging environment never declared or a virtual machine with more cores than expected turns into an invoice nobody budgeted. This entry gives the map and the economics; the legal risk of copyleft contamination inside a proprietary product is covered in open source license risk, and the inventory of components with their licenses is what an SBOM produces.

This entry is informational and does not constitute legal advice: choosing a license, or assessing the ones already in use, requires a lawyer specialized in intellectual property.

  • Open source license riskThe legal risk that an open source library, through its license, contaminates a proprietary product.
  • Software exit strategyThe document stating how you leave a software vendor: data, formats, timing, support and the cost of exit.
  • Vendor lock-inVendor lock-in is dependence on a supplier that makes switching difficult or costly because of constraints on data, software, skills, and contractual terms.
  • Build vs buyBuild vs buy is the choice to develop software, buy it, or combine both approaches, weighing business needs, lifetime costs, skills, and contract terms.
  • Single-vendor dependencySingle-vendor dependency makes a critical business service hinge on one supplier's availability and decisions, even when the customer can access its own data.

See it in the universe

If it touches your company's data, getting that data in order is the first thing I do.

See Data Foundations

Or write to me.