MOSCOW (AFP) - Russia carried out tests on Monday (Dec 23) to ensure the "security" of its Internet infrastructure in case of a foreign cyber attack as part of measures that rights activists worry could also tighten censorship and lead to online isolation.

A controversial law that allows the country to cut Internet traffic from international servers came into force in November, but the communications ministry has denied that the government is gearing up to isolate the Russian segment of the Internet and said ordinary users would not notice the tests.

The ministry said that the drills are aimed at ensuring the "integrity" of the Internet.

"The purpose of the task is to ensure the reliable operation of the internet in Russia in any conditions and under any circumstances," deputy communications minister Alexei Sokolov said in televised remarks on Monday, speaking from the Monitoring and Cyber Threat Response Centre.

"Our task is to make sure everything works. That's what today's drills are aimed at."

State-controlled channel Rossiya 24 said the authorities had in fact been conducting the tests for the past two weeks and the results were expected to be announced later on Monday.

The law, which President Vladimir Putin signed in May, requires Russian Internet providers to install equipment provided by the authorities to enable centralised control of data traffic.

They will also filter content to prevent access to banned websites.

At his annual news conference last week, Mr Putin defended Russia's Internet policies, promising that the country was not "moving towards closing off the Internet".

Related Story Controversial Russian law to control Internet enters into force

Related Story Lawmakers back Bill to isolate Russian Internet

"A free Internet and a sovereign Internet are two concepts that aren't mutually exclusive," he said.

The internet is the country's main forum for political debate and opposing voices as well as coordinating opposition demonstrations.

The new system is set to go online in 2021.

Internet providers need to ensure before that time that their networks have the technical means for "centralised traffic control" to counter potential threats.

The main providers have already begun installing the required equipment including the enabling of Deep Packet Inspection (DPI), which would allow Russia's Roskomnadzor Internet watchdog to analyse and filter traffic.

Supporters of the legislation say the aim is to ensure Russian sites keep working if they are unable to connect to international servers or in the case of threats from abroad such as cyber attacks.

But rights activists say it is another censorship bid following previous efforts in Russia to block services such as the LinkedIn professional networking site and the Telegram messenger service.

While Beijing has created what has become known as the Great Firewall of China to filter content and limit access to foreign websites, activists and analysts are divided if Russia has the resources to implement such a system.