Pretty sure there isn&#x27;t any, at least not one that fits the various definitions of &quot;Open Source&quot;. AGPL is IMHO the most restrictive license that still counts as Open Source, and even it doesn&#x27;t enforce either of your wishes.<p>But many enterprises are careful about running AGPL software, and it makes a competing product harder (because they&#x27;ll have to share all their improvements), so AGPL + custom licenses for people who don&#x27;t like AGPL might work.