Objective : This paper discusses how blockchain and machine learning can work together in improving the security of handling data in cloud computing systems. Method : The framework proposed uses blockchain to provide data integrity and access control and auditability, and machine learning models are used to identify security threats, allocate resources to improve resource use, and enhance performance. Results : It has been shown that machine learning with blockchain will greatly enhance trust, security, and efficiency in the data management of a cloud-based environment. Novelty : The solution to the critical challenges of data security, privacy, integrity, and trust in multi-tenant and decentralized cloud settings is addressed by combining blockchain technology with machine learning, which helps overcome major security flaws, including unauthorized access, data tampering, and insider threats.