setHtmlBlockPrivateNetworkAccess

public final void setHtmlBlockPrivateNetworkAccess(boolean value)

Blocks private, loopback, link-local and IPv6 unique-local destinations, including names resolving to them. The selected input origin and allow-listed destinations remain reachable. Unresolvable names are blocked unless allow-listed. This setting doesn't protect against DNS rebinding; to prevent it, also restrict network egress on the host.

Parameters

value

The value to set for the HtmlBlockPrivateNetworkAccess property.