| title | Security |
|---|
A development machine should be secured against threats as well as any other machine (or even especially a development machine). Therefore we will setup
- a firewall
- disk encryption
If you run potentially vulnerable software you don't want to be accessed from other machines, consider turning the built-in firewall on. This particularly applies if you develop network software.
To turn the built-in firewall on:
- Choose Apple menu () > System Settings, then click Network.
- Click Firewall.
- Turn on Firewall.
- Click Options to configure which apps are allowed incoming connections.
Note: On macOS versions before Ventura, this is under System Preferences > Security & Privacy > Firewall.
If you travel a lot and take your notebook with you (including all your source codes), you should enable disk encryption.
The following steps were taken from the official apple support page on this:
- Choose Apple menu () > System Settings, then click Privacy & Security.
- Scroll down to the FileVault section.
- Click Turn On FileVault.
- Follow the instructions. You should create a local and offline possibility to disable encryption, when you are asked how to regain access in case of anything.
Note: On newer Apple Silicon Macs, data encryption is enabled by default.