Last update:2025-08-06 11:04:55
Cross-Origin Resource Sharing (CORS) is a web browser security mechanism. It allows web applications running in a browser to access resources located on different origins. For example, JavaScript on a webpage served from www.example.com can access images, audio, video, or files stored on storage.cdnetworks.com. By default, for security reasons, browsers restrict scripts on web pages from directly accessing resources from other domains. After enabling CORS, object storage services can flexibly grant external sites permission to read content in storage buckets, enabling secure and compliant cross-origin data access.


CDNetworks Object Storage CORS settings consist of one or more CORS rules, and each CORS rule contains the following settings:
Important Notes: Allowed Origins、Allowed Headers and Exposed Headers support multiple entries, Each line can contain one origin/header and up to one wildcard (*).