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

Granting Anonymous Users Permission to Access Objects

An enterprise stores a large volume of map data in OBS, and offers the data for public query. This enterprise sets a read permission for anonymous users, and provides the data URLs on the Internet. Then all users can read or download the data through the URLs.

Procedure

  1. Log in to OBS Console and click Create Bucket to create a bucket.
  2. In the bucket list, click the name of the newly created bucket. On the displayed object management page, upload the map data to the new bucket. The map data is stored as an object.
  3. Click the object name. The object details page is displayed.
  4. Under Object ACL > Public Permissions, click Edit to grant the object read permission for anonymous users.
  5. Click Save to save the permission setting.

Verification

  1. Click the object. Its URL is displayed under Link. Share the URL over the Internet, so that all users can access or download the object through the Internet.
  2. An anonymous user can view the object by copying the URL of the object to the web browser.