Social Networking is one of the most dominant popular innovative technological phenomena which is prevailing these days, with an aid of over a huge number of human population. Many major online platforms such as Facebook, Friendster etc. permits millions of people to design and set up their personal profiles and share their private information with a far-reaching chain of friends, relatives, colleagues, strangers etc. With the vast utilization of these social networking sites, the problem of maintaining the privacy of the information has gained at most attention. Many different approaches have been formulated to encounter such issues. One such approach for managing the privacy is called the 'key management technique'. Thus, this paper proposes a key management system to allow the user to post information that are encrypted such that only the authorized users who are compatible with the corresponding security policy can obtain the key to access the information, thereby providing an efficient way to prevent privacy in a private Social network. Based on the formulated groundwork, an application is constructed which helps in maintaining the privacy of the profile photo.