You can configure Cross-Origin Resource Sharing (CORS) for an S3 bucket if you want that bucket and objects in that bucket to be accessible to web applications in other domains.
About this task
Cross-origin resource sharing (CORS) is a security mechanism that allows client web applications in one domain to access resources in a different domain. For example, suppose you use an S3 bucket named
Images to store graphics. By configuring CORS for the
Images bucket, you can allow the images in that bucket to be displayed on the website
http://www.example.com.