by randomfool · 8y ago · 0 comments
And yes, you definitely should whitelist access based on the origin header.
As mentioned in the bug above, this approach is currently recommended by Chrome and in use by a number of large applications/sites.
It's completely transparent and is being used in production today.