简体   繁体   中英

Windows 10 Secure Storage

In Windows 10, is there a secure storage mechanism analogous to the Android TrustZone?

Where the data is encrypted and stored in a location separate from regular user file space?

I'm looking to store data from an application that doesn't need to be accessed by any other user or application, and I don't really want to just encrypt it and store it on the disk.

Any thoughts?

With Windows being an open platform (unlike non-rooted Android - I am talking about the user point of view now) there's no simple way to store anything on the disk (or elsewhere for this matter) and have it protected from user's access. The user is essentially the owner of everything in his PC and on its disk.

The best you can do is use CryptProtectData / CryptUnprotectData WinAPI functions to "bind" the data to the user account. These APIs don't store the data, but just encrypt it with the key, derived from the user credentials. You then can store this encrypted data in user's profile directory.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM