<- Chrome Settings Library

SensorsAllowedForUrls

Allow access to sensors on these sites
Last updated October 8, 2024

Setting the policy lets you set a list of URL patterns that specify the sites that can access sensors like motion and light sensors. Leaving the policy unset means DefaultSensorsSetting applies for all sites, if it's set. If not, the user's personal setting applies. If the same URL pattern exists in both this policy and the SensorsBlockedForUrls policy, the latter is prioritized and access to motion or light sensors will be blocked. For detailed information on valid url patterns, please see https://cloud.google.com/docs/chrome-enterprise/policies/url-patterns. Wildcards, *, are allowed.

Supported On:
Platform Start End
Android 88
Chrome (Windows, Mac, Linux) 88
ChromeOS 88
Example value:

{"0":"https://www.example.com","1":"[*.]example.edu"}

Features: