Accumulation of large amount of data on personal storing devices is a big task. Cloud storage is a collection of storage servers, which provides long-term storage services over the Internet and stores huge amount of data. Storing data in a third party's cloud system causes serious concern over data confidentiality. General encryption schemes protect data confidentiality, but also limit the functionality of the storage system because a few operations are supported over encrypted data. Keeping data permanently is also undesirable, as data may be unexpectedly disclosed in the future due to malicious attacks on the cloud or careless management of cloud operators. To overcome the problem of deletion of file and access control, the system uses role-based access control method which provides access to only authorized users.