(EN) The invention provides a method and a device for safe access to data. The method comprises steps of encrypting source data, encapsulating the source data into enciphered data; encapsulating a data access module used by users to access enciphered data into an enciphered data access interface; when users access the enciphered data, loading the enciphered data access interface through a user-defined loader by using an interface encryption key; then obtaining the enciphered data through the enciphered data access interface by using a data encryption key. The method can be used for safe access to data in unsafe conditions and offers an effective solution for both back data storage and front data access; furthermore, no encryption unit is required, so that the cost is effectively controlled; the device is efficient, convenient, safe and simple for users to use, and the study cost is low.
(ZH)
本发明提供了一种安全访问数据的方法及装置,其中,所述方法包括:对源数据进行加密,将源数据封装为加密数据;将用户访问加密数据使用的数据访问模块封装为加密数据访问接口;在用户访问加密数据时,使用接口加密密钥,通过自定义类加载器加载加密数据访问接口;进而使用数据加密密钥,通过加密数据访问接口获得加密数据。通过本方法可以提供了一种在弱安全环境下对数据安全访问的方法,可以从后端的数据存储到前端的数据访问都给出了一个有效的解决方法;其次,不需要任何加密设备投入,能有效控制成本;第三,用户使用高效、便利、安全,学习成本低,使用简单。