Edit

Share via


LocalNetworkAccessRestrictionsEnabled

Specifies whether to block requests from public websites to devices on a user's local network. (Deprecated)

DEPRECATED: This policy is deprecated. It is currently supported but will become obsolete in a future release.

Supported versions

  • On Windows and macOS since 138 or later

Description

Local Network Access restrictions prevent public websites from making requests to devices on a user's local network without explicit user permission.

If you enable this policy, Microsoft Edge blocks any request that would otherwise trigger a DevTools warning due to Local Network Access checks. These requests are denied without prompting the user.

If you disable or don't configure this policy, Microsoft Edge handles these requests using the default behavior, which may include showing warnings in DevTools and allowing the request to proceed depending on the context.

Note: This feature improves local network security by deprecating direct access to private IP addresses from public websites unless explicitly granted by the user.

Supported features

  • Can be mandatory: Yes
  • Can be recommended: No
  • Dynamic Policy Refresh: Yes
  • Per Profile: Yes
  • Applies to a profile that is signed in with a Microsoft account: No

Data type

  • Boolean

Windows information and settings

Group Policy (ADMX) info

  • GP unique name: LocalNetworkAccessRestrictionsEnabled
  • GP name: Specifies whether to block requests from public websites to devices on a user's local network. (deprecated)
  • GP path (Mandatory): Administrative Templates/Microsoft Edge/Network settings
  • GP path (Recommended): N/A
  • GP ADMX file name: MSEdge.admx

Example value

Enabled

Registry settings

  • Path (Mandatory): SOFTWARE\Policies\Microsoft\Edge
  • Path (Recommended): N/A
  • Value name: LocalNetworkAccessRestrictionsEnabled
  • Value type: REG_DWORD

Example registry value

0x00000001

Mac information and settings

  • Preference Key name: LocalNetworkAccessRestrictionsEnabled
  • Example value:
<true/>

See also