CORS support

Cross-Origin Resource Sharing, or CORS, is a process that allows web applications from one domain to interact with resources from a different domain.

Example of using CORS

Let's illustrate CORS with a simple example.

Imagine you have a bucket full of pictures in Impossible Cloud Storage. You also have a website that lets your users browse these pictures. Essentially, your website (let's say, "") is connected to your Impossible Cloud Storage bucket.

But there's a catch - web browsers have safety measures. They don't like it when a website tries to load content from a different domain. In this case, your website "" is trying to fetch pictures from Impossible Cloud Storage, which is a different domain.

This is where CORS comes in. By setting up CORS on your Impossible Cloud Storage bucket, you're telling the browsers, "It's OK, is allowed to access these pictures." With CORS, the browser will happily display your photos to your users.

Without CORS, your users would be staring at a blank screen instead of admiring your stunning pictures. That's why CORS is important for connecting your Impossible Cloud Storage with your web application.

Last updated