Cloud computing is one of the most prominent storage and computing platform being researched nowadays. It is amongst the most popular networks in the world and is seen as next generation of computing technology. It provides various services to its users. Among them, one of the salient service offered is cloud storage. But the major concern while using this service is the integrity and privacy of stored data. Users require their data to be safe and private from any modification or unauthorized access. Thus security becomes an indispensable part of the data stored on cloud. This paper proposes a way to maintain data privacy and integrity and guarantees that no one except the authorized user can access the data.