Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Authenticated Browser Download link expiry

I am currently exploring using Authenticated Browser Download for GCS to host private files. When I use the authenticated URL for a bucket object, it redirects to the content as mentioned in the docs. This redirect URL is publicly accessible but time limited (based on my tests, somewhere between 10 to 15 minutes). Is there a way to modify this expiry to limit the time the object is exposed publicly? Signed URL is not an option because that has to be generated.

0 1 589
1 REPLY 1

Hi @alvintang,

Welcome to Google Cloud Community!

The expiration time for Authenticated Browser download URLs in GCS is fixed and cannot be modified. However, there are alternative ways to secure access to private files in GCS, such as using signed URLs with a longer expiration time, VPC Service Controls, or IAM permissions to control access.

Thanks