Skip to content

add support for private network access cors header#16

Open
nvdk wants to merge 1 commit into
mu-semtech:masterfrom
nvdk:feature/private-network-cors
Open

add support for private network access cors header#16
nvdk wants to merge 1 commit into
mu-semtech:masterfrom
nvdk:feature/private-network-cors

Conversation

@nvdk

@nvdk nvdk commented Mar 19, 2026

Copy link
Copy Markdown
Member

PNA (private network access) is a fairly recent addition that is now enforced in most browsers. a CORS request from a public page to a page on a private network is blocked unless private network access is explicitely allowed via a CORS header.

Generally this is a good thing, but there are cases where it can be useful to allow it:

  • test setups where one app recides on a public ip and the other on a private ip
  • corporate networks where a subset of domains map to internal ips for performance reasons

Background: https://wicg.github.io/private-network-access/

PNA (private network access) is a fairly recent addition that is now enforced in most browsers.
a CORS request from a public page to a page on a private network is blocked unless private network
access is explicitely allowed via a CORS header.

Generally this is a good thing, but there are cases where it can be useful to allow it:
- test setups where one app recides on a public ip and the other on a private ip
- corporate networks where a subset of domains map to internal ips for performance reasons

Background: https://wicg.github.io/private-network-access/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant