关于asp.net impersonation的一些谣传
2014-11-29 20:39
381 查看
以下皆是理论知识,未经证实。
system.web下面的配置节
<identity impersonate="true" />
或者<identity impersonate="true" userName="accountname" password="password" />
也可以通过调用windows API来用代码来进行身份模拟,这篇文章很到位:/article/4787531.html
Note Impersonation is local to a particular thread. When code changes threads, such as when using thread pooling, the new thread executes using the process identity by default.
inpersonation和IIS集成模式不太兼容(ASP.NET Integrated mode is unable to impersonate the request identity in the BeginRequest and AuthenticateRequest pipeline stages.),可通过一个配置来调整: http://www.allenconway.net/2010/11/how-to-use-impersonation-in-aspnet.html
http://mvolo.com/breaking-changes-for-aspnet-20-applications-running-in-integrated-mode-on-iis-70/
也许相对于imperonation,让程序在一个generic account下运行(application pool identity),然后为这个generic account赋予足够的权限更简单
system.web下面的配置节
<identity impersonate="true" />
或者<identity impersonate="true" userName="accountname" password="password" />
也可以通过调用windows API来用代码来进行身份模拟,这篇文章很到位:/article/4787531.html
Note Impersonation is local to a particular thread. When code changes threads, such as when using thread pooling, the new thread executes using the process identity by default.
inpersonation和IIS集成模式不太兼容(ASP.NET Integrated mode is unable to impersonate the request identity in the BeginRequest and AuthenticateRequest pipeline stages.),可通过一个配置来调整: http://www.allenconway.net/2010/11/how-to-use-impersonation-in-aspnet.html
<
validation
validateIntegratedModeConfiguration
=
"false"
/>
http://mvolo.com/breaking-changes-for-aspnet-20-applications-running-in-integrated-mode-on-iis-70/
也许相对于imperonation,让程序在一个generic account下运行(application pool identity),然后为这个generic account赋予足够的权限更简单
相关文章推荐
- 网上看到的一些关于asp.net开发的经验
- http://fason.nease.net里有一些关于asp的树的下载
- 关于ASP.NET在IIS一些问题的经验总结
- 关于ASP.NET 输出XML的一些心得
- 一些关于Castle + Nhibernate+ ASP.NET的资源,我收集了一下,发布出来,供大家学习方便。
- 【关于ASP.NET在IIS一些问题的经验总结】
- 关于ASP.NET在IIS一些问题的经验总结
- 关于ASP.NET在IIS一些问题的经验总结
- 关于ASP.NET在IIS一些问题的经验总结
- 关于《ASP.NET办公自动化系统开发实例导航》问题的一些总结
- ASP.Net一些知识点(关于.net与JS如何交互)
- 关于ASP.NET在IIS一些问题的经验总结
- 关于ASP.NET在IIS一些问题的经验总结
- 关于ASP.NET验证中的一些事
- 初学Asp.net关于GridView的一些学习记录
- 关于ASP.NET在IIS一些问题的经验总结
- 关于asp.net ajax的一些小结
- 关于ASP.NET在IIS一些问题的经验总结
- 关于《ASP.NET办公自动化系统开发实例导航》问题的一些总结
- 关于ASP.NET全球化/本地化(多语言)的一些资源( resource about ASP.NET Localization )