Windows 上是否有某种安全的本地存储? [英] Is there some sort of secure local storage on Windows?

查看:17
本文介绍了Windows 上是否有某种安全的本地存储?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑制作一个小工具.工具将做什么并不重要.重要的是,该工具需要在用户的硬盘上存储一些敏感信息.将存储的信息是用户的信息 - 我不是要保护我自己的内容,我与应用程序一起分发.

I was thinking of making a small tool. It is not important what the tool will do. The important thing, is that the tool will need to store some sensitive information on the user's HDD. The information that will be stored is USER'S information - I'm not trying to protect my own content, that I distribute with the app.

我知道我需要对这些信息进行加密.但是,我在哪里安全地存储加密密码?这是某种无限递归......

I understand that I need to encrypt this information. But then, where do I safely store the encryption password? It's some sort of an infinite recursion...

那么,有没有办法加密windows上的信息,让windows安全地管理密码?当我说 Windows 时,我指的是 Windows XP SP2 或更高版本.

So, is there a way, to encrypt information on windows, and have windows securely manage the passwords? When I say windows I mean Windows XP SP2 or later.

我还应该注意,同一系统上的用户不得访问其他用户的信息(即使他们都在运行我的应用程序).

I should also note, that users on the same system must not have access to other users information (even when they are both running my application).

我正在寻找解决此问题的 .NET 2.0 (C#) 和本机 (C/C++) 解决方案.

I'm looking for both - .NET 2.0 (C#) and native (C/C++) solutions to this problem.

推荐答案

有没有办法加密windows上的信息,让windows安全地管理密码?

is there a way, to encrypt information on windows, and have windows securely manage the passwords?

CryptProtectData:http:///msdn.microsoft.com/en-us/library/windows/desktop/aa380261(v=vs.85).aspx

CryptProtectData: http://msdn.microsoft.com/en-us/library/windows/desktop/aa380261(v=vs.85).aspx

从 .NET 使用:http://msdn.microsoft.com/en-us/library/aa302402.aspx

历史上受保护的存储(在 XP 中可用,在 vista+ 中为只读):http://msdn.microsoft.com/en-us/library/bb432403%28VS.85%29.aspx

Historically, Protected Storage (available in XP, read-only in vista+): http://msdn.microsoft.com/en-us/library/bb432403%28VS.85%29.aspx

这篇关于Windows 上是否有某种安全的本地存储?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆