{"id":550,"date":"2023-09-05T04:29:29","date_gmt":"2023-09-05T04:29:29","guid":{"rendered":"https:\/\/joseph-t-gordon.tech\/?p=550"},"modified":"2023-09-05T12:28:04","modified_gmt":"2023-09-05T12:28:04","slug":"post-128-aws-s3-cors-high-level-overview","status":"publish","type":"post","link":"https:\/\/joseph-t-gordon.tech\/index.php\/2023\/09\/05\/post-128-aws-s3-cors-high-level-overview\/","title":{"rendered":"Post #128 (AWS)  &#8211; S3 CORS, high level overview"},"content":{"rendered":"\n<p>CORS stands for Cross-Origin Resource Sharing and is essentially security for your web client. In S3 www.example.com and info.example.com would be considered different origins while www.example.com\/data and www.example.com\/users would be the same origin. CORS allows for two origins to share resources. Let&#8217;s say you access a site in origin 1, your client connects and the page needs to load an asset from origin 2. Unless CORS is enabled on origin 2 this request will not be able to be made. You enable CORS on the bucket that will be sharing objects with buckets cross-origin. In short CORS is a web-browser based security measure that allows cross-origin requests while connected to one origin.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CORS stands for Cross-Origin Resource Sharing and is essentially security for your web client. In S3 www.example.com and info.example.com would be considered different origins while www.example.com\/data and www.example.com\/users would be the same origin. CORS allows for two origins to share resources. Let&#8217;s say you access a site in origin 1, your client connects and the&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/joseph-t-gordon.tech\/index.php\/wp-json\/wp\/v2\/posts\/550"}],"collection":[{"href":"https:\/\/joseph-t-gordon.tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/joseph-t-gordon.tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/joseph-t-gordon.tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/joseph-t-gordon.tech\/index.php\/wp-json\/wp\/v2\/comments?post=550"}],"version-history":[{"count":2,"href":"https:\/\/joseph-t-gordon.tech\/index.php\/wp-json\/wp\/v2\/posts\/550\/revisions"}],"predecessor-version":[{"id":552,"href":"https:\/\/joseph-t-gordon.tech\/index.php\/wp-json\/wp\/v2\/posts\/550\/revisions\/552"}],"wp:attachment":[{"href":"https:\/\/joseph-t-gordon.tech\/index.php\/wp-json\/wp\/v2\/media?parent=550"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/joseph-t-gordon.tech\/index.php\/wp-json\/wp\/v2\/categories?post=550"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/joseph-t-gordon.tech\/index.php\/wp-json\/wp\/v2\/tags?post=550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}