Oracle Cloud Infrastructure: Accessing Graphics from Object Storage for Extended Periods

Accessing Graphics from Object Storage for an Extended Period

Question

You are designing a lab exercise with an application that includes a large number of graphics with large file sizes.

The application becomes unresponsive if the graphics are embedded in the application.

You have uploaded the graphics to Oracle Cloud Infrastructure Object Storage bucket and added the URL paths for the individual objects in the application.

You need to ensure these graphics are accessible without requiring any authentication for an extended period of time.

How can you achieve these requirements?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

C.

Option A, creating pre-authenticated requests (PAR) without specifying any expiration time, is the recommended approach to achieve the requirement of making the graphics accessible without requiring any authentication for an extended period of time.

Pre-authenticated requests (PAR) allow you to grant temporary access to objects in your Object Storage bucket without the need for users to authenticate. You can use PAR to provide time-limited access to your objects for your users. PAR provides a URL that can be used by users to download or upload objects from/to your Object Storage bucket.

To create a PAR, you need to specify the following details:

  1. The object name(s) or prefix to access
  2. The actions that are allowed on the objects, such as read or write
  3. The time window during which the PAR can be used
  4. An optional IP address range for additional security.

By not specifying any expiration time for the PAR, the temporary access to the objects granted by the PAR will not expire until the PAR is revoked.

Option B, making the Object Storage bucket private and making all objects public, is not a recommended approach. This option makes all the objects in the bucket publicly accessible, which can create a security risk for your data.

Option C, making the Object Storage bucket public and using the URL path for individual objects, is also not a recommended approach. This option makes all the objects in the bucket publicly accessible, which can create a security risk for your data.

Option D, creating pre-authenticated requests (PAR) and specifying 00:00:0000 as the expiration time, is not a recommended approach because it does not provide any time limit for the access granted by the PAR, making it a potential security risk.