voting icon indicating copy to clipboard operation
voting copied to clipboard

CORS config

Open busla opened this issue 8 years ago • 0 comments

Since we decoupled the frontend from the backend we need to consider CORS headers configs. Running web servers is not my expertise so it would be great to hear peoples general opinions on this when dealing with frontend applications making XMLHttpRequests (or Fetch) directly to a service.

I guess this is also somewhat related to authentication of the app in general but another topic.

So instead of same-origin we could:

  • Whitelist IPs?
  • Allow all?

busla avatar Sep 13 '17 22:09 busla