Estos contenidos se han traducido de forma automática para su comodidad, pero Huawei Cloud no garantiza la exactitud de estos. Para consultar los contenidos originales, acceda a la versión en inglés.
Centro de ayuda/ Object Storage Service/ Guía del usuario/ Control de permisos/ Application Cases/ Granting Anonymous Users Permission to Access Objects
Actualización más reciente 2024-09-18 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. En el panel de navegación de OBS Console, elija Object Storage.
  2. In the upper right corner of the page, click Create Bucket to create a bucket.
  3. 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.
  4. Click the object name. The object details page is displayed.
  5. Under Object ACL > Public Permissions, click Edit to grant the object read permission for anonymous users, as shown in Figura 1.

    Figura 1 Setting an object read permission for anonymous users

  6. Click OK.

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.