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

Block sites from making 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 blocked from issuing Local Network Access requests.

Network requests initiated from websites served by matching origins are prevented from accessing local device and local network endpoints.

For origins not covered by the patterns specified here, the user's personal configuration applies.

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 blocks specified public websites from accessing private IP addresses. It helps reduce exposure of internal network resources unless access is explicitly permitted by policy.

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\LocalNetworkAccessBlockedForUrls\1 =

http://www.example.com:8080

SOFTWARE\Policies\Microsoft\Edge\LocalNetworkAccessBlockedForUrls\2 =

[*.]example.edu

SOFTWARE\Policies\Microsoft\Edge\LocalNetworkAccessBlockedForUrls\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