 In July 2008, during the pre-trial discovery phase, Viacom won a court ruling requiring YouTube to hand over data detailing the viewing habits of every user who had ever watched videos on the site.The move led to concerns that the viewing habits of individual users could be identified through a combination of their IP addresses and usernames.The decision was criticized by the Electronic Frontier Foundation, which called the court ruling "a setback to privacy rights," and privacy advocates such as Simon Davies, who stated that the privacy of millions of YouTube users was threatened.