Private Network Access restrictions for automotive
- Category
- Security
- Type
- New or changed feature
- Status
- No active development (Chrome No active development)
- Intent stage
- None
Summary
Enforce (instead of just warn) Private Network Access restrictions on Chrome for Android Automotive (if BuildInfo::is_automotive), including: - Private Network Access preflight requests for subresources. See https://chromestatus.com/feature/5737414355058688, and - Private Network Access for Workers. See https://chromestatus.com/feature/5742979561029632
Motivation
In https://chromestatus.com/feature/5737414355058688 and https://chromestatus.com/feature/5737414355058688 we shipped private network restrictions for subresources and workers in warning-only mode. The next step was to get to the enforcement mode, i.e. failing the main requests if restrictions are not satisfied. However, we haven't been able to do that on existing platforms because there's still a fair amount of warnings being generated, and thus a considerable compatibility risk. The private network security is critical on Android Automotive because it can affect users' physical safety. Since it's a new platform for Chrome, we'd like to have private network restrictions in place from the very beginning. We also don't expect any legitimate private network access use case at the moment, so the compatibility risks should be minimal.
Standards & signals
- Specification: https://github.com/WICG/private-network-access
- Firefox: Positive
- Safari: Support
- Web developers: Mixed signals — Anecdotal evidence so far suggests that most web developers are OK with this new requirement, though some do not control the target endpoints and would be negatively impacted.
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=fetch%2Fprivate-network-access
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+Private%20Network%20Access%20restrictions%20for%20automotive
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=Private%20Network%20Access%20restrictions%20for%20automotive
- Baseline status: https://webstatus.dev/?q=Private%20Network%20Access%20restrictions%20for%20automotive
Docs: https://docs.google.com/document/d/1ozjh-G6faEEkgVp__mjq6c_4U93sS4kK4zoelTE7Awg/edit?usp=sharing
Explainers: https://github.com/WICG/private-network-access/blob/main/explainer.md