President Abdullah Gul, Turkey’s head of state, has now joined Prime Minister Recep Tayyip Erdogan in the government’s assault on free speech. On Tuesday, Mr. Gul approved a new law, passed earlier by Parliament, that is intended to help protect Mr. Erdogan and his allies from a widening corruption scandal by tightening government control of the Internet. It would allow the authorities, without a court order, to block web pages under the guise of protecting personal privacy, and to collect users’ browsing histories.

Even before Mr. Gul acted, Turkey already had tough laws blocking thousands of websites, including gay dating sites and news portals considered favorable to Kurdish militants. According to Reuters, Google reported in December that requests from Turkish authorities to remove content from its sites had risen nearly 10 times during the first half of 2012. In the first six months of 2013, Google was asked to delete more than 12,000 items, making Turkey the No. 1 country seeking to excise Google content.

The new law is a transparent effort to prevent social media and other sites from reporting on a corruption scandal that reportedly involves bid-rigging and money laundering. In one audio recording, leaked last month to SoundCloud, the file-sharing site, Mr. Erdogan is said to be heard talking about easing zoning laws for a construction tycoon in exchange for two villas for his family.

The law is just the latest blow to Turkey’s democracy. After more than a decade in power, Mr. Erdogan has become more authoritarian and, as a result, increasingly embattled. The legislature has done little to stop him. Last Saturday, the Parliament, in a 20-hour session that involved a bloody fistfight, approved a bill that would tighten the government’s grip on the judiciary. On Thursday, Reuters reported that Mr. Erdogan had drafted a new law that would expand powers for his intelligence agency, including eavesdropping.