France wants to make it harder to access and punish illegal behaviour online, according to a text on securing and regulating the digital environment that lawmakers agreed in committee.