Online social networks (OSNs) have become increasingly popular due to the rapid development of mobile applications and the explosive growth in online interaction. With the growth and accessibility of technology and internet, the ease of posting and sharing photos on social networking services (SNSs) has increased exponentially. The privacy of online photos is often protected carefully by security mechanisms. However, these mechanisms will lose effectiveness when someone spreads the photos to other platforms the illegal disclosure of user’s private data can cause damaging consequences and even threaten the safety of users’ life. In recent years, there are some research works to address this privacy issue, yet they do not always focus on providing the normal social network services for users, such as data sharing, data retrieval and data access services. Therefore, it is a challenge to ensure the security of sensitive data while providing efficient and privacypreserving social network services for users.