> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getprimo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Device sensors

> Allow or block the camera of managed Macs and choose whether Location Services shows in the menu bar.

The Device sensors control decides whether the camera of your Macs can be used, and whether Location Services shows in the menu bar.

## Platform compatibility

| macOS | Windows | Linux | iOS / iPadOS | Android |
| - | - | - | - | - |
| ✅ | | | | |

Requires macOS 15 or later.

## Set up the control

**1. Add a configuration**

Go to **MDM** > **Controls**, open **Device sensors**, then click **Add configuration**.

**2. Configure the settings**

Turn **Allow use of the camera** on or off, and choose the menu bar setting. See the settings below.

**3. Select targeting**

Choose which devices to apply the configuration to: all macOS devices, specific device groups, or a custom target. Click **Activate** to deploy the configuration. **Save** keeps it inactive.

## Settings

| Setting | Options |
| - | - |
| **Allow use of the camera** | Toggle, off by default |
| **Show Location Services in the menu bar** | **On**, **Off**, **Not configured** |

* **Allow use of the camera** is always written. Left off, it blocks the camera for every app on the Mac.
* **Show Location Services in the menu bar** left on **Not configured** isn't written: the Mac keeps its own setting.

## How it works

Primo deploys a configuration profile with a restrictions payload for the camera.

The menu bar item is set by a script, checked by a policy. Before its first change, the script records the Mac's own setting. If the setting changes on the Mac afterwards, the policy fails and Primo runs the script again.

When you remove the configuration, or set the menu bar item back to **Not configured**, Primo puts back the Mac's own setting.

## Modify or remove the control

Open the control from **MDM > Controls** to edit, deactivate or replace the configuration.

## Related articles

* [Controls overview](https://docs.getprimo.com/mdm/policies/overview.md)
* [App permissions](https://docs.getprimo.com/mdm/policies/app-permissions.md)
* [Screen capture blocking](https://docs.getprimo.com/mdm/policies/screen-capture-blocking.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.