The development of cloud application provides a diverse storage and sharing platform. These cloud resources will enable us to more quickly and easily share digital information storage. Digital data stored in the cloud platform, the platform files are protected by access control mechanisms to prevent illegal use of other digital files. However, if the cloud platform be intrusion, the attacker may go through the platform authentication mechanisms, access to the host platform digital files directly to obtain these. This will expose digital files secure cloud environment. in this study, such a problem, propose a Data Masking-based access control mechanism. Legal users can use the correct authentication information to restore digital files, that to avoid unauthorized access and misuse. This allows users to more safely use the convenience of cloud resources.