Skip to content

Subscription exposure #69

Description

@imaginator

To make media sharing work, it's necessary to expose subscriptions to private channels.

This is not ideal (e.g. exposing followers of the private channel breast-cancer-support@example.com).

But the media server needs to know if you follow something before being able to issue a download token. Also for remote media servers.

Would the following work as a potential solution:

  • juliet@capulet.lit wants media item azab-romeo-hot-hot-hot-cdcd from romeo@montague.lit
  • her bc-app requests a token from media.montague.lit
  • media.montague.lit generates a token and sends a copy of the token to juliet@capulet.lit and buddycloud.montague.lit
  • buddycloud.montague.lit discards this token if juliet@capulet.lit isn't a follower of romeo.montague.lit
  • juliet tries to download from api.capulet.lit/media-proxy/romeo@montague.lit/media/azab-romeo-hot-hot-hot-cdcd by presenting the token.
  • media.capulet.lit now checks that there is a matching token on buddycloud.capulet.lit
  • if the token is still wasn't discarded by the buddycloud-server, the download proceeds.

I'm sure I've missed something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions