Skip to content
CORS configuration Lab
- Cross origin resource sharing
- Way of allowing code in one S3 bucket to access or allow to access code in another S3 bucket
- Allow one resource to access another resource
- When we link using CORS, it is linked using the endpoint link in static site setup
- Locate a file from index.html using the endpoint address with the filename on the end
- Link from bucket loadpage is in
- Good for organizing website
- Images in one bucket
- Javascript in one bucket
- Use CORS to access them all
- By default one bucket cannot access another
- If universal access were allowed, it would be open to attack and information theft
- CORS allows controlled access between one resource and another