Providing privacy for social networks