Method and apparatus for accessing storage space
暂无分享,去创建一个
The present invention discloses a method and apparatus for accessing a storage space, so as to improve the storage security of private data on a terminal. The method is applied to the terminal configured with the storage space, and a running environment of an operating system of the terminal comprises a secure environment and an insecure environment. The method comprises: according to indication information pre-stored in a storage space, determining that the storage space is a secure storage space, wherein the indication information is used for indicating a secure attribute of the storage space; prohibiting registering the secure storage space in a device registry in an insecure environment; and accessing the secure storage space according to an access request sent by a trusted application TA running in a secure environment. The apparatus comprises a determining module, a registration module, and an access module. The determining module, the registration module, and the access module are used for carrying out the method described above.