macOS
TMA-MACOS-2.3.3.9
Ensure Media Sharing Is Disabled
Beschreibung
Starting with macOS 10.15, Apple has provided a control which permits a user to share Apple downloaded content on all Apple devices that are signed in with the same Apple Account. This allows users to share downloaded Movies, Music, or TV shows with other controlled macOS, iOS and iPadOS devices, as well as photos with Apple TVs. With this capability, guest users can also use media downloaded on the computer.
So wird geprüft
Prüfmethode: Shell-Befehl
/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 == 0 && pref2 == 0 ) {
return("true")
} else {
return("false")
}
}
EOS- Erwartete Ausgabe
true
So wird behoben
Behebungsmethode: Anleitung oder Infrastruktur-Patch
Profile (preferred): com.apple.applicationaccess allowMediaSharing = <false/>; com.apple.applicationaccess allowMediaSharingModification = <false/>.
Eigenschaften
- Betriebssysteme
- macos-26
- Tags
- macossystem-settings
- Referenz
- CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 2.3.3.9 Ensure Media Sharing Is Disabled
Diesen Host prüfen
Führen Sie dies auf einem Rechner aus, den Sie prüfen dürfen. Der Scan ist schreibgeschützt.
tmaegis scan --target macos --level 2