A targeted smartphone attack has just put Apple’s strongest iPhone security claim to the test. Hackers now have targets in sight, putting their secrets at risk. But Apple says it can lockdown all those secrets — including yours. Here’s what you do.

Iranian state-sponsored hackers have just published “top secret” information, stolen from the phone of a former IDF Chief. These include sensitive photos, videos and documents, exposing people and places that should have stayed locked down.

ForbesIran’s Hackers Expose Israel’s ‘Top-Secret Facilities’ In New Attack

According to reports, Handala’s hackers breached Herzi Halevi’s phone with a socially engineered attack. So-called speak phishing crafts personalized lures to trick users into giving away credentials, logging into fake sites or installing apps.

We don’t know whether the breached phone was an iPhone or Android. But we do know that Israel’s military has mandated iPhone over Android for senior staff on security grounds. So let’s assume it is or should be an iPhone.

Apple provides a special setting for iPhones in the hands of high-profile targets like Halevi. . The iMaker says (via ) that “we are not aware of any successful mercenary spyware attacks against a Lockdown Mode-enabled Apple device." But the setting is much more exhaustive than that.

Lockdown Mode restricts web browsing to block online threats, messages to block most attachments and links, most photo sharing, most connections and changes to core system settings. “When Lockdown Mode is enabled,” Apple says, “your device won’t function like it usually would.” It’s not kidding. That’s an understatement.

While Google offers its own version of the same, its Advanced Protection for with a complementary mode is very lightweight in comparison. Google’s protective setting is useful for most security-conscious users, Apple’s really is just for those likely to be targeted.

ForbesApple Warns All iPhone Users—Do Not Answer These Calls And Texts

“Lockdown Mode is an optional, extreme protection,” Apple says, “designed for the very few individuals who, because of who they are or what they do, might be personally targeted by some of the most sophisticated digital threats. Most people will never be targeted by attacks of this nature.”

But if you’re storing secret military photos and documents on your iPhone, or anything similarly secret, this mode is definitely for you. If you have nothing more sensitive than embarrassing texts and photos, then probably not.