Prime Minister David Cameron said the government's security services sometimes rely on accessing the confidential data of individuals in order to identify and disrupt terrorist plots.
Speaking at a joint press conference with Liberal Democrat leader Nick Clegg, Mr Cameron said the recent legal judgement on privacy rights by the European Court of Justice has left some legal ambiguity as to whether internet companies are obliged to hand over data, and this needed to be cleared up.
More top news
Andy Murray has beaten Belgian David Goffin to win the Davis Cup for Great Britain for the first time since 1936
Mercedes' Nico Rosberg has won the season-ending Abu Dhabi Grand Prix, with team-mate Lewis Hamilton coming second
Celebrities and campaigners have joined a huge rally urging world leaders to agree tough measures to curb global warming