Turkish President Recep Tayyip Erdogan has approved a bill giving telecoms authorities more power to monitor online users and block websites, the latest move tightening state control over the Internet.
The new measures, contained in a bill that was submitted to parliament by the ruling Justice and Development Party (AKP), come after the introduction of a law in February making it easier for authorities to block access to web pages without a court order.
This was limited to "attacks on privacy" but the new law, approved late Thursday, strengthens these powers and allows the telecoms authority TIB to block websites "to protect national security, public order and to prevent crime" without a court order.
Service providers would then have to block the website or remove the content within four hours.
It also allows the TIB to store online communications and traffic data for up to two years, including information on which websites were visited by Internet users and for how long.
Until now, only hosting providers were allowed to store the information. The TIB was able to obtain the data only as part of a criminal investigation or upon a court order.
The law raised eyebrows coming just a week after Turkey hosted a major UN-backed forum on Internet governance, where some participants denounced the Turkish government's "draconian" curbs.
Reporters Without Borders said on Wednesday that it "showed that the Turkish authorities are ready to go even further down the road of Internet censorship".
"By increasing the possibility of blocking sites in this way, the authorities are yet again reaffirming their determination to control the Internet," it said in a statement.
The main opposition Republican People's Party (CHP) has fiercely opposed the law and has vowed to continue the fight in the Constitutional Court to overturn it.
Erdogan, who was elected president last month after ruling Turkey as premier for over a decade, has made no secret of his disdain for social media, comparing it to a "murderer's knife" and once famously vowing to "wipe out" Twitter.
The government temporarily blocked Twitter and YouTube in March after they were used to spread audio recordings implicating Erdogan and his inner circle in a corruption scandal.
The move sparked outrage both at home and abroad and triggered concerns that Erdogan was seeking to increase his powers to silence critics and accelerate a slide towards authoritarianism.
Explore further: Turkey lifts controversial YouTube ban