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

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

问题描述

我正在想一个小工具。工具将会做什么并不重要。重要的是,该工具将需要在用户的HDD上存储一些敏感信息。 编辑:将存储的信息是用户的信息 - 我不是想保护我自己的内容,我通过该应用程序分发。



<我知道我需要加密这个信息。但那么,我在哪里可以安全地存储加密密码?这是一种无限递归...



那么,有没有办法加密Windows上的信息,并且安全地管理密码?当我说Windows时,我的意思是Windows XP SP2或更高版本。



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



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

解决方案


有没有办法加密Windows上的信息,并安全地管理密码? p>

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



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



历史上,受保护的存储(XP中可用,只读)在vista +):< a href =http://msdn.microsoft.com/en-us/library/bb432403%28VS.85%29.aspx =noreferrer> http://msdn.microsoft.com/en-us/图书馆/ bb432403%28VS.85%29.aspx


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. EDIT: 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...

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).

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

解决方案

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

Using from .NET: http://msdn.microsoft.com/en-us/library/aa302402.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天全站免登陆