Re:Developers don't understand CORS
by jefftk on Wednesday July 10, 2019 @03:48PM
(#20405765)
You can still do this. The Referer header is sent by default on requests, and you can make your server interpret it to do anything you want.
[ Parent
| on HN ]
This is true unless the referring URL is secured (HTTPS), and the destination URL is not. In that case a conformant user-agent will leave Referer out.