Catalina - Disable Apple Filing Protocol Sharing

Information

If the system does not require Apple Filing Protocol (AFP) Sharing, support it is non-essential and _MUST_ be disabled.

The information system _MUST_ be configured to provide only essential capabilities. Disabling AFP helps prevent the unauthorized connection of devices and the unauthorized transfer of information.

Solution

[source,bash]
----
/bin/launchctl disable system/com.apple.AppleFileServer
----
The system may need to be restarted for the update to take effect.

See Also

https://github.com/usnistgov/macos_security