blob: 19c273759b809fa2b760ae38a4f27704bfb5e0dd [file] [log] [blame] [view]
This directory implements permission and user consent checks for the
browser side of socket opening for the [Direct Sockets API](
https://github.com/WICG/raw-sockets/blob/master/docs/explainer.md).
Examples of the checks include
- user dialog, allowing user to enter destination address
- permissions policy
- rate limiting
- checking hostnames resolve to public addresses
- content security policy
When requests to establish TCP or UDP communication have passed the
various checks, they are forwarded to the network service.