Defending cyberspace against piracy