Is there a way to allow multiple cross-domains using the Access-Control-Allow-Origin header?
Access-Control-Allow-Origin
I\'m aware of the *, but it is too open. I rea
*
There is one disadvantage you should be aware of: As soon as you out-source files to a CDN (or any other server which doesn't allow scripting) or if your files are cached on a proxy, altering response based on 'Origin' request header will not work.