Information
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 the 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.
Solution
This is implemented by a Configuration Profile.
mobileconfig profile info:
com.apple.preferences.sharing.SharingPrefsExtension:
homeSharingUIStatus:
0
legacySharingUIStatus:
0
mediaSharingUIStatus:
0