It depends on who controls the software. In the US, the DMCA says it ain't you.