27 points · by caaqil · 4y ago · 7 comments
I did some work recently on a large "modern" website and man the amount of seemingly unnecessary origin related metadata is insane, mostly due to XHR chatter.
I used this for Unifi Cloudy setup but other than that I am unsure of any other significant uses.
> the preflight requests will request permission from target websites to send HTTP requests with the header Access-Control-Request-Private-Network: true. If permission is granted, the response will carry the header Access-Control-Allow-Private-Network: true. "This ensures that the target server understands the CORS protocol and significantly reduces the risk of CSRF attacks," said Rigoudy and Kitamura.
I thought I also saw something about a white list you could create (I’m assuming in settings), but I’m not so sure about that part.