How to enable cross domain configuration for Amazon S3?

Follow the steps below to do a cross domain configuration for Amazon S3:
 
Step 1: Login to the AWS management console using AWS account credentials.      
              https://aws.amazon.com/console/
 
Step 2: Navigate or search for 'S3' under Storage.
 
 
Step 3: Click on the Bucket you wish to do a cross-domain configuration for.
 
Step 4: Click on the Permissions tab.
 
 
Step 5: Now click on the Edit CORS configuration button.
 
Step 6: Paste the following content in the pop-up window and click on the Save button. Once the pop-up window is closed, click on the Save button under the Permissions tab.
 
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
    <CORSRule>
        <AllowedOrigin>*</AllowedOrigin>
        <AllowedMethod>GET</AllowedMethod>
        <MaxAgeSeconds>3000</MaxAgeSeconds>
        <AllowedHeader>*</AllowedHeader>
    </CORSRule>
</CORSConfiguration>
 
 

Add Feedback