关于SectionInformation.ProtectSection [英] About SectionInformation.ProtectSection

查看:120
本文介绍了关于SectionInformation.ProtectSection的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我对SectionInformation.ProtectSection方法有一些疑问(不是ASP.NET + Aspnet_regiis.exe)

I have some questions about SectionInformation.ProtectSection method (not ASP.NET + Aspnet_regiis.exe)

 

  • 与RsaProtectedConfigurationProvider一起使用时,会创建哪种密钥容器?机器级别还是用户级别?
  • 如果我正确理解,机器级别的密钥容器将允许机器上的每个人都使用带有加密的app.config的应用程序,对吗?将应用程序移植到另一台计算机将使app.config解密失败(除非导出keyocntainer)
  • 另一方面,用户级密钥容器仅允许最初加密app.config的用户解密app.config,因此该用户是唯一允许运行该应用程序的用户,因为它是唯一的一种具有密钥存储权限的工具.
  • When used with RsaProtectedConfigurationProvider, what kind of Key container is created? Machine-Level or User-Level?
  • If i understood correctly, Machine-level key container allow everyone, on machine, to use the application with encrypted app.config, right? Porting the app to another machine will make app.config decryption fail (unless the keyocntainer is exported)
  • User-level key containers, on the other side, allow only the user who originally encrypted app.config to decrypt app.config, so that user is the only one allowed to run the application because it0's the only one that have acces to key storage.

我到目前为止好吗?

因此,我猜想使用  SectionInformation.ProtectSection会生成计算机级别的容器...但是有一种强制用户级别的密钥容器的方法吗?

So i guess that using SectionInformation.ProtectSection produces a Machine-level container...but is there a way to force a user-level key container???

推荐答案

谢谢您的提问,我们正在对此案进行研究,我们可能需要一些时间才能回复您.
Hi, Thank you for your question, we're doing research on this case, it might take some time before we get back to you.


这篇关于关于SectionInformation.ProtectSection的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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