Prosecutions for revenge porn can be brought under several pieces of legislation that pre-date social media sites such as Facebook and YouTube, including the Communications Act 2003, the Malicious Communications Act 1988 and the 1997 Protection from Harassment Act.