<- Chrome Settings Library

DirectSocketsAllowedForUrls

Allow Direct Sockets API on these sites
Last updated October 31, 2024

The Direct Sockets API allows communication with arbitrary endpoints using TCP and UDP. Please see https://github.com/WICG/direct-sockets for details. Setting the policy lets you list the URL patterns that specify which sites are allowed to use Direct Sockets API. Valid patterns are limited to Isolated Web Apps. Leaving the policy unset means DefaultDirectSocketsSetting applies for all sites, if it's set. URL patterns must not conflict with DirectSocketsBlockedForUrls. Neither policy takes precedence if a URL matches with both. For detailed information on valid url patterns, please see https://cloud.google.com/docs/chrome-enterprise/policies/url-patterns. * is not an accepted value for this policy.

Supported On:
Platform Start End
ChromeOS 131
Example value:

{"0":"isolated-app://aerugqztij5biqquuk3mfwpsaibuegaqcitgfchwuosuofdjabzqaaic"}

Features: