Apple announced a new feature for iPhones called Lockdown Mode on Wednesday to protect high-profile users such as politicians and activists against state-sponsored hackers.

Lockdown Mode turns off several features on the iPhone in order to make it less vulnerable to spyware by significantly reducing the number of features that attackers can access and potentially hack.

Specifically, it disables many preview features in iMessage, limits JavaScript on the Safari browser, prevents new configuration profiles from being installed, blocks wired connections — therefore preventing the device’s data from being copied — and shuts down incoming Apple services requests, including FaceTime.

The tech giant will pay up to $2 million to researchers who find a security flaw in Lockdown Mode.

The announcement comes months after revelations that state-sponsored hackers had the ability to hack recent-model iPhones with “zero-click” attacks distributed through text messages. These attacks can be successful even if the victim doesn’t click on a link.

The iPhone maker has faced increasing calls from governments to address the issue. In March, U.S. lawmakers pressed Apple about attack details, including whether it could detect them, how many had been discovered and when and where they occurred.

Most hackers are financially motivated and most malware is designed to make a user give up valuable information like a password or give the attacker access to financial accounts.

But the state-sponsored attacks that Lockdown Mode are targeting are different: They employ very expensive tools sold directly to law enforcement agencies or sovereign governments, and use undiscovered bugs to gain a foothold into the iPhone’s operating system. From there, the attackers can do things like control its microphone and camera, and steal the user’s browsing and communications history.

Lockdown Mode is intended for the small number of people who think they may be targeted by a state-sponsored hacker and need an extreme level of security. Victims targeted by military-grade spyware include journalists, human rights activists and business executives, according to The Washington Post. Spyware also has allegedly been used to target public officials, including a French minister and Catalan separatist leaders in Spain.

“While the vast majority of users will never be the victims of highly targeted cyberattacks, we will work tirelessly to protect the small number of users who are,” Ivan Krstić, Apple’s head of security engineering and architecture, said in a statement.

This content was originally published here.