Sub topic 12
Putting it together and knowing the limits
This chapter assumes you have already turned on FileVault, enabled the application firewall, and set up Find My Mac. It also assumes you can run a command in Terminal with sudo. Here you will see how the three features work together and where each one stops protecting you.
Three features, three threats
Each feature answers a different threat. None of them covers the threats the others handle.
| Feature | Threat it addresses | What it does not do |
|---|---|---|
| FileVault | Someone reads your data from a lost or stolen Mac | Protect a Mac that is unlocked and running |
| Application firewall | Unwanted incoming network connections | Stop outgoing connections or malware you run yourself |
| Find My Mac | A missing Mac that you want to find, lock, or erase | Work without power and a network connection |
How the layers combine
Think of a stolen laptop. The layers act in sequence.
- Find My Mac helps you locate or lock the Mac while it is online.
- FileVault protects your files even if the thief never connects it to the internet.
- Activation Lock makes the Mac hard to reactivate and resell.
- The firewall reduces exposure on any network the Mac joins, before or after it is lost.
Limits you should know
FileVault
FileVault encrypts data at rest. Once you log in, the disk is unlocked, and anyone using the running session can read your files. Lock the screen or shut down when you leave the Mac. A weak login password also weakens the protection. Your recovery method matters too. If you lose both your password and your recovery method (iCloud account or recovery key), the data cannot be recovered. Store a recovery key somewhere other than the Mac.
The firewall
The application firewall controls incoming connections per application. It does not filter outgoing traffic, so it cannot stop malware that connects out. It does not replace careful downloads or software updates. Stealth mode makes the Mac ignore probing requests such as ping. The block-all option blocks everything except essential services, which can break file sharing and screen sharing. Choose these options based on where you use the Mac. Public Wi-Fi justifies stricter settings than your home network.
Find My Mac
Find My needs the Mac to be powered on and able to reach the network, directly or through nearby Apple devices. An erased Mac can no longer be tracked in the same way, so try Play Sound and Lost Mode before you choose Erase. Activation Lock depends on your Apple Account, so protect that account with a strong password and two-factor authentication.
A quick audit script
You can check FileVault and the firewall from Terminal. Find My has no documented command-line check, so confirm it in System Settings under your Apple Account, iCloud.
#!/bin/bash
# Print a quick security status summary for this Mac.
echo "FileVault: $(fdesetup status)"
echo "Firewall: $(/usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate)"
echo "Stealth: $(/usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode)"Save it as check-security.sh, run chmod +x check-security.sh, then run ./check-security.sh. Expect output such as "FileVault is On." and "Firewall is enabled." If either shows off, fix it in System Settings. You can also turn the firewall on from Terminal:
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate onCommon mistakes
- Turning on FileVault but never recording the recovery key.
- Assuming the firewall protects against all malware.
- Leaving Find My Mac off because you "will never lose it".
- Choosing Erase before trying to locate the Mac.
- Using a short, guessable login password.
Exercise
Your Mac is stolen while it is asleep and offline. Which of the three features still protects your files, and why?
Show answer
FileVault. It encrypts the disk, so the data stays unreadable without your login password or recovery method, and it does not need a network connection. Find My Mac needs the Mac to be online to locate it, lock it, or erase it. The firewall only limits incoming connections.
Exercise
A colleague says the firewall makes the Mac safe from malware. Give two reasons this is wrong.
Show answer
The application firewall only controls incoming connections, so it does not filter outgoing traffic from malware already running. It also cannot stop you from installing or running a malicious app yourself.