TheKoguryo's Tech Blog

 Version 2024.04.01

Warning

This content has been generated by machine translation. The translations are automated and have not undergone human review or validation.

7.4 Object Rights Management - Public Bucket

  1. The created Bucket is in Private state by default. Without authentication, access is not possible. If you change the Bucket to Public, you can access it without additional authentication. As with Pre-Authenticated Requests, a temporary shared link is not created, but access to the Bucket is allowed, allowing direct access to the object’s URL path.

  2. Go to the detailed information screen of Bucket. You can check that Visibility is Private. Click Edit Visibility to make changes.

    image-20220112165706292

  3. This is the Visibility setting screen.

    • Visibility: Change to PUBLIC.

    • Allow users to list objects from bucket: checked by default. If selected, it will allow object list query with API.

      image-20220112165859897

  4. To check the URL path of the object, go to the detailed information through the action menu on the right side of the object. image-20220112170129162

  5. Check the URL path in Object details. The URL path format is:

    https://objectstorage.<region_name>.oraclecloud.com/n/<object_storage_namespace>/b/<bucket>/o/<object_name>
    

    image-20220112170425348

  6. Access the verified Object URL with a browser. You can check that you can connect directly without authentication. image-20220112170534993

  7. When accessing the parent path of Object, the list of objects is searched in JSON format as shown below.

    https://objectstorage.<region_name>.oraclecloud.com/n/<object_storage_namespace>/b/<bucket>/o/
    

    image-20220112170703269



As an individual, this article was written with my personal time. There may be errors in the content of the article, and the opinions in the article are personal opinions.

Last updated on 12 Jan 2022