Hacker News new | past | comments | ask | show | jobs | submit login

I think you misunderstand CORS. You have to enable CORS on your server, not the sites that use your widget.

http://stackoverflow.com/questions/298745/how-do-i-send-a-cr...




Yeah, I know that. What I meant was that I did not want to set wildcards for the access-control-allow-origin header. If you use hostname reflection like in the linked stackoverflow example, issues arise when the widget is cached browser side by site A and then invoked by site B.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: