Allow Public Read access on a GCS bucket?

后端 未结 6 1452
鱼传尺愫
鱼传尺愫 2020-12-07 23:17

I am trying to allow anonymous (or just from my applications domain) read access for files in my bucket.

When trying to read the files I get

```

<         


        
6条回答
  •  南笙
    南笙 (楼主)
    2020-12-07 23:37

    1. Open the Cloud Storage browser in the Google Cloud Platform Console.
    2. In the list of buckets, click on the name of the bucket that contains the object you want to make public, and navigate to the object if it's in a subdirectory.
    3. Click the drop-down menu associated with the object that you want to make public.
    4. The drop-down menu appears as three vertical dots to the far right of the object's row.
    5. Select Edit permissions from the drop-down menu.
    6. In the overlay that appears, click the + Add item button.
    7. Add a permission for allUsers.

      • Select User for the Entity.
      • Enter allUsers for the Name.
      • Select Reader for the Access.
      • Click Save.
    8. Once shared publicly, a link icon appears in the public access column. You can click on this icon to get the URL for the object.

    Instruction on Making Data Public from Google Cloud Docs

提交回复
热议问题