Hacker News new | ask | show | jobs
by sirsar 2282 days ago
Two ideas come to mind:

- You can create public pre-signed URLs with an unlimited expiration date using SigV2. I doubt SigV2 will stop working anytime soon.

- Or, if you want the link to provide access to anyone, why not make the object public, but put a UUID in the key name to prevent enumeration?

2 comments

You have to be careful. By default, the bucket owner pays for outbound traffic, which can get really expensive: $0.09/GB for the first 10TB. (And there's no caching!)
Never heard of sigv2, but looks like it's currently on its way out?

I like the UUID idea. Especially since you can always move the file under a new UUID to revoke previous access. Not sure if there's a way to generate a new link with GDrive.