Police are to get powers to force internet firms to hand over details that could help identify suspected terrorists and paedophiles.
The Anti-Terrorism and Security Bill will oblige internet service providers (ISPs) to retain information linking Internet Protocol (IP) addresses to individual users.
Home Secretary Theresa May said the measure would boost national security - but again complained that Liberal Democrats were blocking further steps.
CONNECT WITH THE SCOTSMAN
• Subscribe to our daily newsletter (requires registration) and get the latest news, sport and business headlines delivered to your inbox every morning