Help Center > Object Storage Service > Console Operation Guide > Managing Object Properties > Permission for an Object > An Example of Setting an Anonymous User's Permissions to an Object

An Example of Setting an Anonymous User's Permissions to an Object

Context

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 URL in the Internet. Then all users can read or download the data through the URL.

Procedure

  1. Log in to OBS Console.
  2. Click Create Bucket. The following dialog box is displayed, as shown in Figure 1. In the Bucket Name text box, enter a name for the new bucket. Then click Create Now.

    Figure 1 Creating a bucket

  3. In the bucket list, select the new bucket. Click Object and upload the map data as an object to the new bucket.
  4. In the navigation tree on the left, click Permission.
  5. In ACL, click Edit to set an object read permission for anonymous users, as shown in Figure 2.

    Figure 2 Setting an object read permission for anonymous users

  6. Click Save to save the permission setting.
  7. Click the object. Its URL is displayed under Link. Anonymous users can access the object by clicking the URL. Make the URL available over the Internet, and then all users can read or download the object through the URL.
  8. Users click the URL and can see the following map data, as shown in Figure 3.

    Figure 3 Map

Registration