You have an object in a Cloud Storage bucket that you want to share with an external company.
The object contains sensitive data.
You want access to the content to be removed after four hours.
The external company does not have a Google account to which you can grant specific user-based access privileges.
You want to use the most secure method that requires the fewest steps.
What should you do?
Click on the arrows to vote for the correct answer
A. B. C. D.A.
The most secure and efficient method to share an object in Cloud Storage with an external company that does not have a Google account, but still want access to the content to be removed after four hours is to create a signed URL with a four-hour expiration and share the URL with the company.
Option A is the correct answer.
Here is an explanation of each option:
A. Create a signed URL with a four-hour expiration and share the URL with the company.
B. Set object access to public' and use object lifecycle management to remove the object after four hours.
C. Configure the storage bucket as a static website and furnish the object's URL to the company. Delete the object from the storage bucket after four hours.
D. Create a new Cloud Storage bucket specifically for the external company to access. Copy the object to that bucket. Delete the bucket after four hours have passed.
Therefore, the best option is to create a signed URL with a four-hour expiration and share the URL with the external company, as it is the most secure method that requires the fewest steps.