Accessing an Object Using Its URL
You can grant anonymous users the read permission for an object so they can access the object using the shared object URL.
Prerequisites
Anonymous users have the read permission for the object.
For details about permission granting, see Granting All Accounts the Read Permission for Certain Objects.
Encrypted objects cannot be shared.
Procedure
- In the navigation pane of OBS Console, choose Object Storage.
- In the bucket list, click the bucket you want to operate to go to the Objects page.
- Click the object to be shared. The object information is displayed on the top part of the page. You can find the link for accessing the object in the Link area, as shown in Figure 1.
Anonymous users can access the object by clicking this link. An object link (URL) is in the format of https://Bucket name.Domain name/Directory level/Object name. If the object is in the root directory of the bucket, its URL does not contain any directory level. To learn more about domain names, see OBS Domain Names.
- To allow anonymous users to access objects in Archive storage using URLs, ensure that these objects are in the Restored state.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.