9

If code has a licence that allows sharing of modifications, is it possible to prevent it being hosted on a site that uses third party advertising? Do licences with this intent exist, or is it not possible to prevent advertising without losing the ability to share modifications?

2 Answers 2

7

Maybe such a license exists. But it would not be an Free Software or Open Source license. A FLOSS license must not discriminate or forbid any form of usage. That includes the way in which the software is distributed.

The question of making or sharing modifications is conceptually unrelated to the question of usage restrictions.

4
  • " A FLOSS license must not discriminate or forbid any form of usage. That includes the way in which the software is distributed." -> Well, the GPL does this... For example in section 11.
    – user38
    Commented Jun 24, 2015 at 20:22
  • 1
    Please elaborate.
    – user114
    Commented Jun 24, 2015 at 20:25
  • @Tichodroma Just add a link to support your point.
    – Zizouz212
    Commented Jun 24, 2015 at 23:25
  • 1
    How about freedom 0? Or DFSG, clause 6? Or OSD, clause 6? Commented Jun 25, 2015 at 0:38
4

The Creative Commons NonCommercial licenses (BY-NC and BY-NC-SA) may do what you want, but there are three problems with using them:

  1. They are unsuited for use with software.
  2. The definition of commercial use is fuzzy, and hosting on a ad-supported site is probably the place where the uncertainty is greatest.
  3. The CC-NC licenses are not free/open by anybody's definition (not OSI, not DFSG, not FSF).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.