In the era of digital globalization, protecting personal data on cloud computing platforms has become a critical concern for both government and citizens. This thesis project specifically focuses on the protection of digital health records, given their sensitivity and the socio-economic stakes they represent. The project aims to develop robust and adaptable IT solutions to ensure both the security and privacy of cloud data. A proactive, AI-based approach will be explored to detect and prevent attacks before they have significant impacts. Beyond security, the research will seek to balance privacy protection with data sharing, particularly in the context of medical emergencies or epidemiological studies. From a socio-economic perspective, this research will help to strengthen trust in cloud services while supporting sustainable development goals. In collaboration with medical institutions, an e-Healthcare system leveraging electronic health records, while preserving patient privacy, will be developed.