Bluetooth File Sharing using Android device

Michael_ABN
New Contributor

Because of CIS we have disabled Bluetooth Sharing using a configuration profile. However we found out that it is still possible to send data from a Mac to an Android device using the Bluetooth File Exchange app.
Data exchange between macOS and iOS is being blocked as expected.
Have you come across this as well? What have you done to remediate (other than adding the Bluetooth File Exchange app to restricted software)?

1 REPLY 1

Shyamsundar
Contributor

To check if Bluetooth sharing is enabled, try running this command. If you get 0, it’s enabled.

/usr/bin/sudo -u "$CURRENT_USER" /usr/bin/defaults -currentHost read com.apple.Bluetooth PrefKeyServicesEnabled

 

use the below command to disable if its enabled. 

/usr/bin/sudo -u "$CURRENT_USER" /usr/bin/defaults -currentHost write com.apple.Bluetooth PrefKeyServicesEnabled -bool false