The rapid development of communication and networking has lessened geographical boundaries among actors in social networks. In social networks, actors often want to access databases depending upon their access rights, privacy, context, privileges, etc. Managing and handling knowledge-based access of actors is complex and hard for which broad range of technologies need to be called. Access based on dynamic access rights and circumstances of actors impose major tasks on access systems. In this paper, we present an access mechanism for social networks (AMSN) to render access to actors over databases taking privacy and status of actors into consideration. The designed AMSN is tested over an agriculture social network (ASN) which utilised distinct access rights and privileges of actors related to the agriculture occupation, and provided access to actors over databases. The results obtained are quite encouraging for the access of actors over databases in social networks.