So I have recently run into an issue that seems like it should be an obvious problem for others, yet I haven't found much on it online.
I wrote a script to enable the firewall with the settings I would like, as well as set remote management/SSH and screen sharing for only the local administrator account. The script works perfectly, and now I wanted to be able to make sure that end-users cannot modify firewall settings. While I'm at it, I'd also love to make it so that end users cannot disable FileVault 2.
The only pre-packaged option I've found in the JSS is to disable the entire Security & Privacy section in system preferences with a restriction in the Configuration Profiles area. I do not want to do this, as users often need access to the Privacy tab within the Security & Privacy System Preferences pane (often in the Accessibility and Location Services sections).
I have looked at this post, but wasn't able to get anything to work (toggling the on/off for the firewall doesn't seem to change any preferences aside from the one in /Library/Preferences/com.apple.alf.plist, and I still was not able to use that file to create a custom configuration profile).
Has anyone ever figured out how to do this?
Thanks!