Restricts the ability to make requests to the user's local network, gated behind a permission prompt. A local network request is any request from a public website to a local IP address or loopback, or from a local website (e.g. intranet) to loopback. Gating the ability for websites to perform these requests behind a permission mitigates the risk of cross-site request forgery attacks against local network devices such as routers, and reduces the ability of sites to use these requests to fingerprint the user's local network. This permission is restricted to secure contexts. If granted, the permissions additionally relaxes mixed content blocking for local network requests (since many local devices are not able to obtain publicly trusted TLS certificates for various reasons). This work supersedes a prior effort called "Private Network Access" (e.g., https://chromestatus.com/feature/5737414355058688, https://chromestatus.com/feature/5954091755241472) which used preflight requests to have local devices opt-in.
Currently public websites can probe a user's local network, perform CSRF attacks against vulnerable local devices, and generally abuse the user's browser as a "confused deputy" that has access inside the user's local network or software on their local machine. Gating the ability for sites to make local network requests behind a permission prompt helps stop the exploitation of vulnerable devices and servers from the drive-by-web, and gives users control over which sites can probe their local network.
Restricting local network requests behind a permission should have low compatibility risks. Restricting this permission to secure contexts may have risks if different browsers handle mixed content differently.
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
We plan to create DevTools Issues entries when a site would be affected by these restrictions that includes guidance about how to meet the new restrictions. Blocked requests will also be visible in the DevTools Networking tab, with a distinct error.
M136
Debuggability
We plan to create DevTools Issues entries when a site would be affected by these restrictions that includes guidance about how to meet the new restrictions. Blocked requests will also be visible in the DevTools Networking tab, with a distinct error.
Is this feature fully tested by web-platform-tests?
Not yetFlag name on about://flags
NoneFinch feature name
LocalNetworkAccessChecksRequires code in //chrome?
TrueTracking bug
https://crbug.com/394009026Estimated milestones
M136
Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5152728072060928?gate=5068821926510592This intent message was generated by Chrome Platform Status.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CALMy46SB%2Bv9dnp-wrJ4WH0R4UJmWuutq1st92%3D_zOyhnLJ_vkw%40mail.gmail.com.