By TOM MORRIS, Associated Press Google, Twitter and Facebook are among companies that have announced that they won.
The companies are among the companies that say they have no plans to share user data with governments, even if it helps police.
The announcement Wednesday came in response to a lawsuit filed by the American Civil Liberties Union in a California federal court.
The lawsuit seeks to stop Google and Facebook from sharing user data about the search engine and social networking sites.
In a court filing, the ACLU said the companies have been told they can’t share user information that would be used to target them or their users with government requests.
“The government must give up all user information and user data for law enforcement purposes and that includes the use of user data collected for law-enforcement purposes,” the ACLU wrote in the filing.
“If the government cannot provide that information, then it should not be compelled to do so.”
Google and Facebook did not immediately respond to a request for comment.
The complaint also accuses the companies of failing to protect their users’ privacy and data security.
The lawsuits were filed in California in December, alleging that Facebook and Google had violated the federal Electronic Communications Privacy Act.
The companies say they complied with state and federal law.
The lawsuit claims that the data could be used for profiling, harassment, hate crimes and other purposes.
The ACLU has a history of challenging government surveillance.
In December, the civil rights group filed a lawsuit against the National Security Agency for its use of data collected on people from their mobile phone calls to identify potential threats.
The case also cited the NSA’s use of social media and email data to identify terrorists and their supporters.