Category filter

Configuration profile to set up AirDrop discoverability settings on Mac

This document explains how you can use a configuration profile to set up AirDrop discoverability settings on macOS devices.

AirDrop is an integrated function that enables users to send different types of files and data wirelessly to nearby Macs, iPhones, and iPods. It ensures a smooth data transfer experience on Apple devices. In organizations, configuring AirDrop settings is also crucial for maintaining security and compliance. More specifically, managing AirDrop discoverability helps restrict the transfer of data among the Apple devices in the company. This adds an extra layer of security, preventing the accidental sharing of information with external or unauthorized devices. Deploy the following custom configuration profile to the targeted macOS devices to set up AirDrop discoverability settings on macOS devices.

Disclaimer:

  • The sample configuration profiles provided below are created using various profile creator applications.
  • The following configuration profile only works for devices running macOS 10.14 and later.

On macOS devices, the com.apple.sharingd plist file is used to manage sharing services such as AirDrop, file sharing, screen sharing, and more. The discoverability settings for AirDrop can be configured by modifying the DiscoverableMode key in the com.apple.sharingd plist file. The key accepts three possible values: ‘Everyone’, ‘Contacts Only’, and ‘Off’. These values determine whether your device is visible to all nearby Apple devices, only to those in your iCloud contacts list, or not visible at all, respectively.

Here are the available options and their corresponding functionality:

  • Everyone – Makes your macOS AirDrop visible to any nearby Apple devices.
  • Contacts Only – Limits the visibility of your macOS device to only those contacts saved in the iCloud account logged into the device.
  • Off – Sets your macOS AirDrop discoverability to No One, which lets your Mac’s AirDrop be invisible to nearby Apple devices. This ensures that your macOS device won’t appear in any nearby Apple devices AirDrop lists.

Configuration profile to set AirDrop discoverability settings to ‘Contacts Only’

This following configuration profile restricts your macOS device’s visibility to only those Apple devices in your iCloud contacts list. This is a good choice if you want to limit file sharing to people you know and trust. For example, you might use this option in a workplace setting where you want the users to accept files only from their colleagues who are on the user’s contacts list.

Configuration profile to set AirDrop discoverability settings to ‘Everyone’

The following configuration profile makes your macOS device visible to all nearby Apple devices. This is useful within a public place and permits file transfers from someone who isn’t on the contacts list.

However, be aware that this option could potentially allow AirDrop discoverability of the device to unauthorized individuals and attempts to send files.

Configuration profile to set AirDrop discoverability settings to ‘No One’

The following configuration profile makes your macOS device undiscoverable to all nearby Apple devices. This is a good choice if you’re concerned about privacy or security, or if you simply don’t want to receive files via AirDrop. For example, you might use this option if the device is in transit or operates in a crowded public place where you don’t want to risk accidentally accepting files from strangers.

What happens at the device end?

After deploying the configuration profile to the designated devices, AirDrop’s discoverability setting is restricted to the option set using the configuration profile. Nevertheless, no visible changes occur on the device’s AirDrop interface. This configuration profile does not affect the device’s graphical user interface (GUI) of the AirDrop Discoverability settings. End users can still modify the setting among the three options: ‘No One,’ ‘Contacts Only,’ and ‘Everyone.’

Configuration profile for AirDrop Discoverability settings configures the AirDrop option to 'Everyone' on Mac

However, such changes will not be effective, and the AirDrop discoverability will continue to operate in the configured mode setup via the policy.

It’s important to note that this configuration neither disables nor enables AirDrop. Disassociating the policy will change the AirDrop visibility settings of the device back to its default state. Applying the above policies simultaneously will enable the latest policy configurations to be applied to the devices. Each new policy replaces the previous one.

Notes:

  • To create and customize configuration profiles, you can use tools like Apple Configurator, Profile Manager or manually create them using text editors.
  • Use non-encrypted .mobileconfig, .xml, or plist files to deploy profiles across devices.
  • Ensure that you do not associate conflicting configurations with the devices.
  • It is recommended to manually validate the configuration profile on a system before executing it in bulk.
  • Hexnode will not be responsible for any damage/loss to the system on the behavior of the configuration profile.

  • Configuration Profile Repository