On this page

Show all

Overview (SDK for Java)

Updated on 2025-04-03 GMT+08:00

Cross-origin access refers to access between different domains. Restricting cross-origin access is a browser policy for security purposes, that is, the same-origin policy.

Due to this same-origin policy, JavaScript in origin A cannot operate objects in origin B or C.

The same-origin policy requires the protocols, domain names (or IP addresses), and ports are all the same. If the protocols, domain names, and ports (if specified) of the two web pages are the same, the two web pages are in the same origin.

Cross-origin resource sharing (CORS) allows web application programs in one origin to access resources in another.

OBS supports CORS rules that allow the resources in OBS to be requested by other domains.

For more information, see CORS.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback