mc cors
The mc cors
commands manage Cross-Origin Resource Sharing (CORS) configuration for buckets.
Cross-Origin Resource Sharing (CORS) is a browser security mechanism that controls which web domains can access your object storage from client-side JavaScript. When a web application running on one domain attempts to access objects in AIStor from a different domain, the browser checks CORS policies to determine if the request should be allowed. See the Mozilla CORS documentation for more information.
Bucket-specific CORS configurations allow up to 100 rules per bucket following the S3 specification. If a bucket has no CORS configuration, it falls back to global CORS settings.
Subcommands
The mc cors
command includes the following subcommands: