Monterey - Disable Guest Access to Shared SMB Folders

Information

Guest access to shared Server Message Block (SMB) folders _MUST_ be disabled.

Turning off guest access prevents anonymous users from accessing files shared via SMB.

Solution

[source,bash]
----
/usr/sbin/sysadminctl -smbGuestAccess off
----

See Also

https://github.com/usnistgov/macos_security

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-2, 800-53|AC-2(9), CCE|CCE-91059-6

Plugin: Unix

Control ID: 8875cfb531b75f3b15c5472b27d8359f36bdbb5915cae7e533d1876e5aa6d4d2