16.9.8.1 Understanding Object Bucket Visibility

Understand when to use public or private object buckets and how your app accesses private files.

You set the visibility of an Oracle Cloud Infrastructure (OCI) object bucket. A public bucket is for web site assets that any internet user can access. Use a private bucket for other use cases: it only allows authenticated access. An OCI Native Authentication web credential provides your application secure access to the bucket to put and get files. The figure shows the Oracle Cloud Infrastructure object bucket details page for companion-bucket and highlights its Visibility setting of Private.

Figure 16-97 Use a Private Object Bucket Unless It Stores Public Web Site Assets