Security lab

3 Mac security settings to check right now

FileVault, the firewall and Lockdown Mode. Each takes under a minute to check, and you can verify the first two from Terminal.

15 Nov 2026

$ fdesetup status
FileVault is On.

Menu names shift slightly between macOS versions. To see yours, run sw_vers in Terminal.

Setting 1

FileVault

System Settings → Privacy & Security → FileVault

FileVault encrypts your startup disk. If your Mac is lost or stolen, nobody can read your files without your login password or recovery key.

  • Click Turn On and follow the prompts.
  • Choose how to keep your recovery key. Store it somewhere other than the Mac itself, such as a password manager.
$ fdesetup status
FileVault is On.
Setting 2

Firewall

System Settings → Network → Firewall

The macOS firewall is off by default. Turning it on blocks unwanted incoming connections, which matters most on public Wi-Fi.

  • Switch Firewall on.
  • In Options, consider enabling stealth mode so your Mac doesn’t respond to probing requests.
$ sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate
Firewall is enabled. (State = 1)
Setting 3

Lockdown Mode

System Settings → Privacy & Security → Lockdown Mode (near the bottom)

Lockdown Mode is extreme protection for people who may be personally targeted, such as journalists or activists. It limits some web features, message attachments and other functions to shrink your attack surface.

Most people don’t need it. Know it exists, and turn it on only if your risk justifies the trade-offs. Turning it on requires a restart.

Command cheat sheet

CommandWhat it tells you
sw_versYour macOS version
fdesetup statusWhether FileVault is on
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstateWhether the firewall is enabled
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate onTurns the firewall on
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmodeWhether stealth mode is on

FAQ

Will FileVault slow my Mac down?

On modern Macs the impact is usually negligible. Apple silicon Macs already encrypt internal storage in hardware, and FileVault ties access to your login credentials.

What if I lose my FileVault recovery key?

You can still unlock the disk with your account password. If you forget both, the data is not recoverable, so store the key safely when you turn FileVault on.

Does the firewall replace antivirus?

No. The firewall controls incoming connections. It doesn’t scan files or stop you from running a malicious app.

Should I turn on Lockdown Mode?

Only if you think you could be targeted by sophisticated attacks. For everyone else, FileVault, the firewall, software updates and a strong password cover most of the risk.

Watch the 60-second video: the video version of this piece is on SysZero2Hero — the link goes here once it’s uploaded.