A
software license is a legal instrument (usually by way of
contract law, with or without printed material) governing the use or redistribution of software. Under United States copyright law all
software is
copyright protected, in
source code as also
object code form. The only exception is
software in the public domain. A typical software license grants the
licensee, typically an
end-user, permission to use one or more copies of software in ways where such a use would otherwise potentially constitute copyright infringement of the software owner's
exclusive rights under copyright law.