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
On Wednesday, the rain will roll northwards - a few hours of solid rain in the east and over the Pennines.
Jeremy Corbyn has challenged Theresa May to better fund the police and fire services by backing a Labour amendment to the Queen's Speech.
All 33 London councils were warned about "combustible" panels being used on buildings which could potentially spread blazes.