A federal judge in Florida has thrown out Apple’s claim that a security research firm had violated copyright law with its software.