The law may come as a surprise to some because of France's recent indignation at revelations the U.S. swept up more than 70 million French telephone records. But France is traditionally on the other side of the issue: cooperating with allied governments on anti-terrorism operations.
France has long struggled to walk the line between its image of itself as the country of human rights and its need for tight security laws amid waves of terrorism on French soil. The country has a robust security apparatus, honed during terrorist attacks in the 1980s and 1990s.
In fact, parts of the new law simply make permanent powers that had been temporarily granted and repeatedly renewed since the Sept. 11 terror attacks in the United States.
The government has defended the bill as necessary to modernize and streamline intelligence-gathering powers in the face of increasingly sophisticated tactics by its enemies. It noted that the National Commission for the Control of Security Interceptions, which ensures the legality of communications surveillance, and the French National Commission on Computing and Freedom would provide oversight.
"It seems to me that we're now moving toward a balance between operational efficiency ... and the respect of freedoms," French Defense Minister Jean-Yves Le Drian told parliament.
But groups that represent Internet service providers and defend digital freedoms think the proposed law goes too far.
"Considering the recently uncovered evidence of massive and generalized spying on citizens, the maneuvers of the president and of the government deceive no one," said Philippe Aigrain, co-founder of La Quadrature du Net, a lobby that urges governments to protect personal data and Internet freedom. "This bill sets up a generalized surveillance regime and risks to destroy once and for all the limited trust between citizens and agencies responsible for security."
The French business lobby Medef said the law could be particularly harmful to the country's efforts to attract innovative businesses.
"This is a serious infringement of the confidence all actors must have in the Internet," Medef said in a statement.