Junior IT minister Rajeev Chandrashekhar defended the government's access to citizens' data as "lawful and legitimate in national security and emergencies" as opposition parties rallied to oppose a new digital rights law that was presented in parliament on Thursday.