makeporngreatagain.pro
yeahporn.top
hd xxx

Add a CORS configuration to an S3 bucket

1,297
  1. Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/.
  2. In the Bucket name list, choose the name of the bucket that you want to create a bucket policy for.
  3. Choose Permissions, and then choose CORS configuration.
  4. In the CORS configuration editor text box, type or copy and paste a new CORS configuration, or edit an existing configuration. The CORS configuration is an XML file
  5. Example of CORS:
    1. The first rule allows cross-origin PUT, POST, and DELETE requests from the http://www.example1.com origin. The rule also allows all headers in a preflight OPTIONS request through the Access-Control-Request-Headers header. In response to preflight OPTIONS requests, Amazon S3 returns requested headers.
    2. The second rule allows the same cross-origin requests as the first rule, but the rule applies to another origin, http://www.example2.com.
    3. The third rule allows cross-origin GET requests from all origins. The * wildcard character refers to all origins.
      <CORSConfiguration>
       <CORSRule>
         <AllowedOrigin>http://www.example1.com</AllowedOrigin>
      
         <AllowedMethod>PUT</AllowedMethod>
         <AllowedMethod>POST</AllowedMethod>
         <AllowedMethod>DELETE</AllowedMethod>
      
         <AllowedHeader>*</AllowedHeader>
       </CORSRule>
       <CORSRule>
         <AllowedOrigin>http://www.example2.com</AllowedOrigin>
      
         <AllowedMethod>PUT</AllowedMethod>
         <AllowedMethod>POST</AllowedMethod>
         <AllowedMethod>DELETE</AllowedMethod>
      
         <AllowedHeader>*</AllowedHeader>
       </CORSRule>
       <CORSRule>
         <AllowedOrigin>*</AllowedOrigin>
         <AllowedMethod>GET</AllowedMethod>
       </CORSRule>
      </CORSConfiguration>
      
Leave A Reply

Your email address will not be published.

baseofporn.com https://www.opoptube.com
Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.