SpinTheMic
Pro

Interview practice question

Enforcing privacy settings in feeds

System Design · Design: Social and Messaging · Experienced

Users can make posts visible to friends only, close friends or public. How do you enforce this correctly in feeds, search and APIs?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Visibility stored with each post.
  • Central authorisation check at read time.
  • Filter during feed hydration.
  • Search index respects ACLs.
  • Audit and tests for leaks.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics