# Allow your website to use the bucket (CORS)

> Set CORS on your bucket so your website can load fonts and media or upload files from the browser.

Source: https://docs.phluit.com/products/object-storage/s3-cors/

Browsers block a website from using files on another address unless that address allows it. That permission is called CORS. You need it for fonts, media players, and uploads straight from the browser.

## Set it up

1.  Open the bucket's **Settings** tab and find **CORS**.
2.  Under **Allowed websites**, enter one address per line, like `https://example.com` and `https://www.example.com`. Use `*` to allow any website.
3.  Tick the methods: **GET** to read files, **PUT** and **POST** to upload, **DELETE** to delete, **HEAD** for file details.
4.  Click **Save CORS**.

To remove CORS, empty the list and save.
