开发者

Shared but Secure Memory between 3 Different Apps (Windows)

We are writing a set of application for windows which contains IE toolbar, Firefox toolbar and Windows Desktop client.

Before using any of these components user provides his secret code a开发者_Python百科nd says that he need to save this code for 1hr or whatever option he chooses.

Now the challenge for us is that we have to use the same secret code to decrypt his data while he uses in all 3 component, Currently we are writing that secret key in a plain file with AES encryption with a specific key buried in the source code and all 3 component access that key from that file.

Now please suggest me better way in light of following limitations/requirement.

  1. All 3 components are fully/partially written in .Net.
  2. IE uses the protected mode so no high privileged resource can be accessed
  3. the data of the user is encrypted with his own security key hence it is must for us to have his key to decrypt his data. and when he quits we loose this key to ensure the security.
  4. All 3 components runs in low privileged processes.

Can some one help me in this.

Regards


Have you tried DPAPI?

http://msdn.microsoft.com/en-us/library/system.security.cryptography.protecteddata.aspx

http://msdn.microsoft.com/en-us/library/ms229741(v=VS.85).aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜