Skip to content

Consider using different public ID for the email and feed. #114

@kevincox

Description

@kevincox

Right now the same publicId is used for both writing (in the email address) and reading (in the feed ID). This presents a possible privacy issue where anyone with the email can read sent items.

At first look this isn't an issue as they sent those items in the first place, but there are a handful of reasonable scenarios where this could happen.

  1. Using the same email for multiple senders.
  2. The sender sells your email address, now the buyer can read the communication. (Rather than just spamming you as was probably intended).

I would recommend adding a separate public ID for sending to keep write and read privileges separate. I believe this can be done without disruption by making these two values the same for all existing feeds, and generating them separately for new feeds. Alternatively either ID could be used for writing (at least for old feeds) but I see no benefit of this approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions