Is there a license that would allow a software vendor to show their source code to the public, but if the user wants to run the code require them to buy a license?
For example, the vendor could be interested in showing that there are no security flaws in the software, but not want to actually "open source" it in the traditional sense.
If there is not standard license that covers this use case, could you make your own that is legally enforceable?