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
A teenage boy has been stabbed to death in London, the second fatal attack within two days.
A British amateur sailor died this morning after being hit by a sail while taking part in the Clipper Round The World Yacht Race.
Plans for seven-day GP services are "unrealistic" because of a shortage of doctors, the Government has been warned.