oshp / oshp-tracking

Repository used to organize freely the work on the OSHP projects.
https://owasp.org/www-project-secure-headers/
GNU General Public License v3.0
3 stars 1 forks source link

New CORS header "Access-Control-Request-Private-Network" #4

Closed righettod closed 1 year ago

righettod commented 2 years ago

Hi,

Add new CORS header Access-Control-Request-Private-Networkand related information flow in the section Miscellaneous.

🌎 Sources:

💬 March 2022 update:

image

💬 June 2022 update:

image

💬 January 2023 update:

image

righettod commented 1 year ago

@riramar This is a status on January 2023 😉

Status

📍 The feature is not yet enabled by default in current release of Chrome (109) on January 2023. Indeed, according to the rollout-plan it will be enabled from version 111.

Chrome version

image

Test setup

image

💻 From a PUBLIC host to a LOCAL host:

image

Source

👀 https://wicg.github.io/local-network-access/#example-deny-by-default

image

👀 https://wicg.github.io/local-network-access/#private-network-request-heading

image

Using default Chrome setup

❌ No CORS-preflight request send.

❌ No header Access-Control-Request-Private-Network send.

image

image

image

🤔 Personally, I prefer to wait that the feature was enabled by default prior to include it into the OSHP site.

riramar commented 1 year ago

Totally agree with you @righettod . Let's wait to Chrome enable the feature by default.

riramar commented 1 year ago

Thanks for checking in details. :)

righettod commented 1 year ago

Thanks for checking in details. :)

It is my job as PL and, in addition, I enjoy deep diving into technical stuff to be sure to fully understand how it works 😃

righettod commented 1 year ago

📡 Update on 2023-05-07 (Source): image

💬 Current stable release of Chrome is the 113: image

righettod commented 1 year ago

📡 This issue give a status:

image

righettod commented 1 year ago

PR https://github.com/OWASP/www-project-secure-headers/pull/154 linked