STIGUI
V-277126CAT II — Medium severitySV-277126r1268226_rule

The macOS system must disable Media Sharing.

Rule version APPL-26-002100 · STIG v1 · 2026-09-01

Discussion

Media Sharing must be disabled.

When Media Sharing is enabled, the computer starts a network listening service that shares the contents of the user's music collection with other users in the same subnet.

The information system must be configured to provide only essential capabilities. Disabling Media Sharing helps prevent the unauthorized connection of devices and unauthorized transfer of information. Disabling Media Sharing mitigates this risk.

Note: The Media Sharing preference panel will still allow "Home Sharing" and "Share media with guests" to be checked, but the service will not be enabled.

Check

Verify the macOS system is configured to disable Media Sharing with the following commands:

/usr/bin/osascript -l JavaScript << EOS function run() { let pref1 = ObjC.unwrap($.NSUserDefaults.alloc.initWithSuiteName('com.apple.applicationaccess')\ .objectForKey('allowMediaSharing')) let pref2 = ObjC.unwrap($.NSUserDefaults.alloc.initWithSuiteName('com.apple.applicationaccess')\ .objectForKey('allowMediaSharingModification')) if ( pref1 == false && pref2 == false ) { return("true") } else { return("false") } } EOS

If the result is not "true", this is a finding.

Fix

Configure the macOS system to disable Media Sharing by installing the "com.apple.applicationaccess" configuration profile.

Identifiers

Group ID
V-277126
Group title
SRG-OS-000080-GPOS-00048
Rule ID
SV-277126r1268226_rule
Check ID
C-81281r1148828_chk
Fix ID
F-81186r1148829_fix