India is becoming increasingly trigger-happy when it comes to preventing people accessing the internet.

The nation has shut down the internet in various regions 20 times in the first five months of this year, according to a report from Human Rights Watch. Four of those blackouts have taken place this month, all in states where violent protests took place.

That represents a dramatic uptick from last year, when 31 shutdowns were recorded in total, and an even greater increase since 2012 -- which saw only three shutdowns.

The Indian government did not respond to a request for comment on the report, but has argued in the past that restricting access is sometimes necessary to prevent social media rumors from fueling violence.

Related: Can Theresa May use tech to stop terror attacks?

The disputed and conflict-ridden region of Kashmir, for example, has seen 33 shutdowns in five years.

"The lack of transparency and failure to explain these shutdowns only furthers the perception that they are meant to suppress nonviolent reporting and criticism of the government," said Meenakshi Ganguly, South Asia director for Human Rights Watch.

While the Indian government doesn't have its own internet-blocking apparatus like China's "Great Firewall," it can order service providers to go offline. That power stems from a law written in 1973, which allows the government to impose various restrictions on the public to prevent everything from riots to "obstruction, annoyance or injury."

Related: A huge wave of new users is killing 4G speeds in India

India, which is often referred to as the world's largest democracy, has been called out for online censorship before.

A 2016 survey of internet freedom in 65 countries by U.S.-based think tank Freedom House gave India a score of 41. China, with a score of 88, came last. Estonia performed best with a score of 6.

In another report by the Brookings Institution last year, India tied for first place with Iraq for the highest number of internet shutdowns among 19 countries (including Saudi Arabia, Pakistan, Syria and North Korea).

Facebook also ranks the Indian government among the top countries asking it to censor content. The social media giant said in its latest Government Requests Report that India ordered 719 pieces of content to be restricted, lower only than Brazil, Turkey and Germany.

India topped Facebook's list for two straight years up to June 2015.