Microsoft Edge Browser Policy Documentation LocalNetworkAccessAllowedForUrls (original) (raw)

Allow sites to make network requests to local devices and local network endpoints.

Supported versions

Description

Specifies a list of URL patterns for which requests initiated from matching origins are exempt from Local Network Access restrictions.

Network requests initiated from websites served by matching origins are not subject to Local Network Access checks.

For origins not covered by the patterns specified here, the user's personal configuration and applicable local network access restrictions apply.

There are multiple policies that control origins impacting requests to local device and local network endpoints. If an origin matches more than one of the following policies, the policies take precedence in the following order:

For detailed information about valid URL pattern syntax, see:Enterprise policy URL pattern format

For more information about Local Network Access, see:https://wicg.github.io/local-network-access/

Note: This policy enables controlled exceptions to local network access restrictions. It allows specified public websites to access private IP addresses when required for trusted local communication scenarios.

Supported features

Data type

Windows information and settings

Group Policy (ADMX) info

Example value

http://www.example.com:8080
[*.]example.edu
*

Registry settings

Example registry value

SOFTWARE\Policies\Microsoft\Edge\LocalNetworkAccessAllowedForUrls\1 =

http://www.example.com:8080

SOFTWARE\Policies\Microsoft\Edge\LocalNetworkAccessAllowedForUrls\2 =

[*.]example.edu

SOFTWARE\Policies\Microsoft\Edge\LocalNetworkAccessAllowedForUrls\3 =

*

Mac information and settings

<array>
  <string>http://www.example.com:8080</string>
  <string>[*.]example.edu</string>
  <string>*</string>
</array>

Android information and settings

["http://www.example.com:8080", "[*.]example.edu", "*"]

See also