Re:Twitter DM Videos Are Accessible to Unauthenticated Users
by ruskyhacker on Wednesday December 14, 2022 @03:20AM
(#33981209)
I sort of explained my thought process above but I suspect they've done it this way for "cdn things"
It's not great, there's certainly a way to secure it, but like many other solutions - stuff it in a storage bucket with a "random" url is "good enough" in the eyes of the platform.
Re:Twitter DM Videos Are Accessible to Unauthenticated Users
by infotogivenm on Wednesday December 14, 2022 @06:18PM
(#33992252)
No disagreement here, that must be why they do it. But most CDNs e.g. S3 handle expiry in their signed URL implementations.
Authentication tokens intended for ephemeral browser sessions should expire, it’s good practice not to hand out infinite-access credentials.