By using a cloud storage system, the data sharing service ensures the secure transmission of information to reliable users. Conventional methods store shared information in data centres that are under the control of the data owner and the data provider. On the other hand, cloud providers store this information in data centres that aren't necessarily under the same level of trust as the data owner. The possible breach of data confidentiality is brought about by this. Using a secret sharing groups key management protocol (SSGK), this article explains how to protect conversations and shared data against unauthorised access. In contrast to other attempts, SSGK uses a secret sharing approach to disseminate its group key, which is secure using a group key. By using our protocol, which aids our customers in maintaining the confidentiality of their data while utilising cloud storage, we were able to reduce storage space requirements by 12%.