Security Guidelines for Cross-Origin Resource Sharing

Object Store does not validate or restrict the values passed in the corsPermissions configuration. You are responsible for ensuring that the configuration contains only legitimate and intentional values.

Follow these guidelines to reduce security risks:
  • Only add to the allowlist origins, headers, and methods from known and trusted sources. Unverified origins could expose your data to unauthorized cross-origin access.

  • Avoid using wildcard (*) origins.

  • Allow only the HTTP methods your application needs. Avoid enabling write methods (POST, PUT, DELETE) for origins that only require READ access.

  • Specify allowed headers clearly instead of using a wildcard (*) to avoid sensitive or unexpected requests.