5
you are viewing a single comment's thread
view the rest of the comments
[-] LWD@lemm.ee 0 points 5 days ago* (last edited 5 days ago)

It seems

Any "privacy" improvements from random instances are not part of the core code structure

The privacy improvements are from the ActivityPub protocol. The author cites them.

Edit: ...and the spammer who keeps copy-pasting the same irrelevant spam from thread to thread is back

[-] PhilipTheBucket@ponder.cat 2 points 5 days ago

They're really not.

Here's the relevant docs, and a little summary of how they relate to private posts and Mastodon's specific implementation of them.

Specs: https://www.w3.org/TR/activitypub/#delivery

Mastodon code where you can verify that this is how they are handled: https://github.com/mastodon/mastodon/blob/main/app/lib/activitypub/tag_manager.rb (look at the cc() and to() functions)

Overall summary in detail:


ActivityPub Specification

What ActivityPub Explicitly Mandates

  1. Audience Targeting (Section 5.1):

    • Activities must include audience targeting fields (to, cc, etc.)
    • Servers must deliver activities to the specified audiences
  2. Public Posts (Section 7.1.2 and 7.1.3):

    • Activities addressed to the Public collection must be delivered to all followers
    • Servers MAY deliver Public activities to all known sharedInbox endpoints
  3. Filtering (Sections 5.2 and 7.1.2):

    • Servers SHOULD filter inbox content according to the requester's permissions
    • Servers MAY filter delivery targets according to implementation-specific rules
  4. Privacy of Non-Addressed Content (Section 7.1 Note on "Silent and private activities"):

    • For activities with no recipients, it's "recommended" (not required) that objects remain private
    • An activity sent only to the "public" collection should be viewable in the actor's outbox but not delivered to any actors

What ActivityPub Leaves Undefined

  1. Visibility Levels:

    • No explicit definitions for "public," "unlisted," "private," or "direct" as formal visibility modes
    • No mandatory behavioral requirements for different audience targeting patterns
  2. Privacy Enforcement:

    • No explicit requirements for how receiving servers should restrict visibility based on audience fields
    • No requirements that servers must hide content from non-addressed users
  3. Timeline Placement:

    • No specification about which posts should appear in public timelines vs. home timelines

Mastodon's Implementation

Visibility Levels in Mastodon

Mastodon implements four primary visibility levels:

  1. Public

    • UI Name: "Public"
    • ActivityPub Implementation:
      • to: ["https://www.w3.org/ns/activitystreams#Public"]
      • cc: ["https://example.com/users/username/followers"]
    • Behavior: Visible to everyone, appears in public timelines
  2. Unlisted

    • UI Name: "Unlisted" or "Quiet public" (newer versions)
    • ActivityPub Implementation:
      • to: ["https://example.com/users/username/followers"]
      • cc: ["https://www.w3.org/ns/activitystreams#Public"]
    • Behavior: Visible to everyone but doesn't appear in public timelines
  3. Private

    • UI Name: "Followers-only"
    • ActivityPub Implementation:
      • to: ["https://example.com/users/username/followers"]
      • cc: [] (empty)
    • Behavior: Only visible to followers
  4. Direct

    • UI Name: "Mentioned people only"
    • ActivityPub Implementation:
      • to: [array of mentioned user URLs]
      • cc: [] (empty)
    • Behavior: Only visible to mentioned users

Key Implementation Details

  1. Visibility Through Addressing:

    • Mastodon uses the to and cc fields to indicate intended visibility
    • The presence and position of the Public collection determines visibility level
    • No explicit "visibility" property is included in ActivityPub messages
  2. Convention-Based Visibility:

    • The difference between "public" and "unlisted" is determined by whether the Public collection is in to (public) or cc (unlisted)
    • This is a convention defined by Mastodon, not explicitly required by the spec

I also sent a user-targeted explanation of how Mastodon's privacy settings work, that might be helpful for you to read. You can probably find it in my profile.

this post was submitted on 27 Mar 2025
5 points (58.1% liked)

Privacy Guides

18616 readers
6 users here now

In the digital age, protecting your personal information might seem like an impossible task. We’re here to help.

This is a community for sharing news about privacy, posting information about cool privacy tools and services, and getting advice about your privacy journey.


You can subscribe to this community from any Kbin or Lemmy instance:

Learn more...


Check out our website at privacyguides.org before asking your questions here. We've tried answering the common questions and recommendations there!

Want to get involved? The website is open-source on GitHub, and your help would be appreciated!


This community is the "official" Privacy Guides community on Lemmy, which can be verified here. Other "Privacy Guides" communities on other Lemmy servers are not moderated by this team or associated with the website.


Moderation Rules:

  1. We prefer posting about open-source software whenever possible.
  2. This is not the place for self-promotion if you are not listed on privacyguides.org. If you want to be listed, make a suggestion on our forum first.
  3. No soliciting engagement: Don't ask for upvotes, follows, etc.
  4. Surveys, Fundraising, and Petitions must be pre-approved by the mod team.
  5. Be civil, no violence, hate speech. Assume people here are posting in good faith.
  6. Don't repost topics which have already been covered here.
  7. News posts must be related to privacy and security, and your post title must match the article headline exactly. Do not editorialize titles, you can post your opinions in the post body or a comment.
  8. Memes/images/video posts that could be summarized as text explanations should not be posted. Infographics and conference talks from reputable sources are acceptable.
  9. No help vampires: This is not a tech support subreddit, don't abuse our community's willingness to help. Questions related to privacy, security or privacy/security related software and their configurations are acceptable.
  10. No misinformation: Extraordinary claims must be matched with evidence.
  11. Do not post about VPNs or cryptocurrencies which are not listed on privacyguides.org. See Rule 2 for info on adding new recommendations to the website.
  12. General guides or software lists are not permitted. Original sources and research about specific topics are allowed as long as they are high quality and factual. We are not providing a platform for poorly-vetted, out-of-date or conflicting recommendations.

Additional Resources:

founded 2 years ago
MODERATORS