privacy setting like facebook

Can anyone suggest me the database design for privacy setting like facebook...