BLOCKING: implement signed CDN URLs
Probably should be something along the lines of a per-request JWT token, with a very short expiry time (ie. 5 minutes), and bound to the requesting IP.
IMPLEMENTATION REQUIREMENTS: ~~- Checking & enforcing in CDN (/assets/..., possibly others)~~ Done in #1285 ~~- Generation in gateway and API - wherever message objects are returned (the query params are to be included here)~~ Done in #1285
- Look into automated scanning of uploaded media (ie. ClamAV?)
- OPTIONAL: managing media via admin api/ui, see dev/admin-api branch
5 minutes won't cause issues for clients will it? I don't want to have images and whatnot die after 5 minutes, but I assume cache will likely fix this issue, right?
oof, I just copied how discord does it
oof to what? that was just a question, if the caching rules allow, it'll probally be fine
oof to what? that was just a question, if the caching rules allow, it'll probally be fine
it wasn't a reply to you, it was a "reply"/comment on the original issue as I didn't implement it the way the issue mentions
Ah, oops, sorry
More concerns handled in #1309 (restricting by IP/user agent to disallow sharing)
This was resolved since that comment.