gathering / wannabe

Event-system for TG - wannabe.gathering.org
GNU General Public License v3.0
12 stars 7 forks source link

Signed user profile picture urls #65

Closed niccofyren closed 3 years ago

niccofyren commented 3 years ago

This PR introduces signed urls on profile pictures. This means that only we (wannabe) can generate valid and viewable links to profile pictures. In other words, if you don't see a profile picture in any of the views wannabe provides you, you don't have access to it. And if you try to share link it will work for a short time (1 day) before expiring.

The idea of doing it this way versus introducing controller to do access checks based on VCL, etc;

Relates to: https://github.com/gathering/wannabe/issues/20