matrix-spec-proposals icon indicating copy to clipboard operation
matrix-spec-proposals copied to clipboard

Auth for content repo (and enforcing GDPR erasure)

Open matrixbot opened this issue 9 years ago • 8 comments

Formerly MSC701. Documentation: https://docs.google.com/document/d/1ERHpmthZyspnZtE3tQzxKTkcxar6JANeyNXgz2_djhA/edit# Author: @ara4n Date: 2018-06-04

The media repository is currently unauthed; anybody can access posted images, avatars, etc, if they know the URI.

Submitted by @​matthew:matrix.org

(Imported from https://matrix.org/jira/browse/SPEC-445)

matrixbot avatar Aug 20 '16 18:08 matrixbot

Jira watchers: @ara4n @richvdh

matrixbot avatar Aug 20 '16 18:08 matrixbot

Actually, E2E provides quite an elegant solution for this, in that you can't decrypt the content if you don't have the keys. (Then again, from a corp security perspective they prolly don't even want you downloading the encrypted data)

-- @ara4n

matrixbot avatar Aug 24 '16 17:08 matrixbot

Synapse-side issue at https://github.com/matrix-org/synapse/issues/2150

richvdh avatar Oct 16 '17 08:10 richvdh

I don't think this has been answered somewhere, so asking here in hopes people have ideas: How would federated media work?

In theory the server could start signing requests to download media, although that doesn't really guarantee that the person making the request is allowed to do so (ie: is in the room). With the upcoming introduction of users being linked to key-like objects, we could possibly use those to sign the requests, however there's nothing to stop a server lying about which user is requesting the media.

Then there's the question of the user potentially wanting specific media being publicly accessible. The primary use case being the IRC bridge which pastebins long messages.

turt2live avatar Jun 02 '18 22:06 turt2live

let's discuss this over at ~~matrix-org/synapse#2150~~ https://github.com/matrix-org/matrix-spec/issues/870, as that bug's bigger

ara4n avatar Jun 04 '18 22:06 ara4n

see also https://github.com/matrix-org/matrix-doc/pull/2461 which is an alternative proposal.

richvdh avatar Dec 24 '21 10:12 richvdh

See also https://github.com/matrix-org/matrix-spec-proposals/pull/3916 and https://github.com/matrix-org/matrix-spec-proposals/pull/3911 which are yet more alternative proposals.

richvdh avatar Jan 03 '24 12:01 richvdh

Note that this MSC is more to do with what we now call "linking" instead, as a sort of MSC3911 alternative. MSC3916 does have some overlap, but not nearly as much as MSC3911 does.

turt2live avatar Apr 23 '24 03:04 turt2live