Understanding copyright and infringement of cloud-based software