Document or certificate verification is a crucial part wherein a document or certificate issued by an authority will be verified for its authenticity. In a typical system it will be performed through exchange of mails or post, it is a time consuming process and not foolproof due to human intervention. In an online system, the documents hosted on a third party server with negligible downtime guarantee will be downloaded and verified. But in such cases the trustworthiness of the documents hosted on these servers is questionable as the documents will be hosted in its original format and there are chances that it will be modified or altered. Trusting and protecting the documents from getting modified due to intentional attacks and other possible attacks are the issues to be addressed in online document verification system. To overcome these issues and design a foolproof system, in this paper, we propose an online document verification system based on Attribute Based Encryption (ABE). Third party server considered in this case can be either a cloud or a server taken from a service provider. This paper is aimed at providing access control for users to access the documents hosted online based on user's attributes. We show that the proposed scheme is robust against collusion attacks and hacking kind of attacks. Also, it encourages the authorities such as Universities, Autonomous institutions issuing documents for adopting the proposed Online Document Verification System. © 2016 IEEE.