Data leaks not only pose a serious threat to the right to privacy, but also the very security of the citizens that the government ought to protect. In this article we analyse how the newly enacted Digital Personal Data Protection Act (DPDPA) aims to safeguard the privacy and security of individuals and prevent a potential misuse or breach of data.