是否有办法查明MVC网络应用的特征是什么冒名?
I ve set web.config to include
<system.web>
<identity impersonate="true" />
For IIS7 in integrated pipeline mode, I believe this should make the application impersonate IUSR (my thinking is set out in my blog post Identity impersonation with IIS and ASP.NET.
MVC的申请本身使用认证表格,我可以看到在用户ok上被贴上标签。
System.Web.HttpContext.Current.User.Identity
但是,我的申请必须称作COM部分,我需要确定它使用什么账户。 从我的测验来看,似乎仍然使用NETRK SERVICE,而不是IUSR,因此,我寻求一种方法,以核实申请在称呼COM构成部分时所冒身份。