Enable and Manage CORS Rules
    • Dark
      Light

    Enable and Manage CORS Rules

    • Dark
      Light

    Article summary

    This feature is currently in Private Preview.

    For more information about getting started, see Manage B2 Cloud Storage at Scale: Enterprise Web Console.
    For questions after implementation, contact the Product Team.

    You can enable cross-origin resource sharing (CORS) rules on an existing bucket in the enterprise web console.

    1. Sign in to your Backblaze organization.
    2. In the left navigation menu, select Buckets.
    3. Click the bucket name, and click Settings.
    4. Select the CORS Rules tab.
    5. Select one of the following options:
      • Do not share any files with any origin
      • Share everything in this bucket with every origin *
      • Share everything in this bucket with all HTTPS origins *
      • Share everything in this bucket with exactly one origin *
        Enter the URL of the origin.
      • If there are custom rules in place through an API, those rules are not reflected in the enterprise web console.
    6. Click Save.

    * You must also select the API to apply the rules to: B2 Native API, S3-compatible API, or Both.


    Was this article helpful?