IRAN HAD a blunt solution this past weekend to an eruption of protests by angry citizens: Turn off the Internet. All of it.

Web shutdowns have become a common strategy for repressive governments, but experts say this weekend’s response to widespread demonstrations over a spike in gasoline prices is the biggest yet. It took officials 24 hours to achieve their aim, but once they did, only 5 percent of regular users — including top politicians such as the supreme leader — were still online. Those who were cut off were unable to communicate beyond Iran’s borders and within them.

Iran’s move is notable for its complexity. Many developing nations whose leaders have hit the switch recently have had to do just that: hit the switch, and only one, because the country connects through a single, state-sponsored service provider. The Internet in Iran, by contrast, is more diverse. The government didn’t purchase it off the shelf for an all-in-one installation, but private contractors built it bit by bit. Taking it away required hitting multiple switches, or sending multiple orders to multiple parties.

The threat going forward is that the nations that remain mostly unwired will create networks that are, as Alp Toker of watchdog organization Netblocks puts it, “disruptable by design” — much like China’s carefully constructed Great Firewall. These nations, mostly in Africa and Latin America, are already at the center of a battle over whether the Web will remain worldwide at all, or whether countries will maintain sovereign Internets with tight government control.

A law laying the foundation for this vision of control took effect in Russia this month, allowing the government to block traffic from abroad “in an emergency” and imposing requirements on service providers that would make it easier to impose the sort of shutdown Iran achieved this past weekend — except, perhaps, without the 24-hour slog. Russia also led a United Nations resolution whose end goal is a treaty that could expand the definition of cybercrime so broadly, and give governments so much leeway to prevent supposed incursions, that all sorts of ordinary uses of the Internet could end up prohibited.

Russia, China and their allies want the same thing Iran wanted over the weekend: to shut up and shut in their citizens. They want to redirect the international community away from its long-standing focus on freedom on the Internet, by casting the Web as a dark place full of dangers — even as they are often the ones doing the attacking. Those countries that still believe the Internet has light to offer can’t afford to let the worst offenders lead the way to extinguishing it.

Read more: