Design a post privacy/visibility system

Quick Overview

This question evaluates a candidate's ability to design access control and visibility mechanisms for social posts, covering privacy models, efficient read-time enforcement, data modeling, caching strategies, and handling dynamic friendship and privacy updates.

Design a post privacy/visibility system

Company: Meta

Role: Software Engineer

Category: System Design

Difficulty: medium

Interview Round: Onsite

Design a privacy system for social media posts (similar to Facebook post privacy). Requirements: - Each post can be: Public, Friends, Friends-of-friends (optional), Only me, or Custom (allowlist/denylist/groups). - Enforce privacy on reads (feed and direct post URL). - Work efficiently with caching and high read QPS. - Support updates to friendships and privacy settings. Out of scope: complex regulatory auditing.

Overview: This question evaluates a candidate's ability to design access control and visibility mechanisms for social posts, covering privacy models, efficient read-time enforcement, data modeling, caching strategies, and handling dynamic friendship and privacy updates.

|Home/System Design/Meta
Meta logo
Meta
Feb 25, 2026
mediumSoftware EngineerOnsiteSystem Design
5
0

Design a privacy system for social media posts (similar to Facebook post privacy).

Requirements:

  • Each post can be: Public, Friends, Friends-of-friends (optional), Only me, or Custom (allowlist/denylist/groups).
  • Enforce privacy on reads (feed and direct post URL).
  • Work efficiently with caching and high read QPS.
  • Support updates to friendships and privacy settings.

Out of scope: complex regulatory auditing.

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...