码迷,mamicode.com
首页 > Web开发 > 详细

asp.net security

时间:2015-09-23 20:58:10      阅读:173      评论:0      收藏:0      [点我收藏+]

标签:

Impersonation is independent of the authentication mode configured using the authentication configuration element. The authentication element is used to determine the User property of the current HttpContext. Impersonation is used to determine the WindowsIdentity of the ASP.NET application.

 

By default, ASP.NET is configured to use Windows authentication mode, which applies the Windows identity supplied by IIS to the User property of the current HttpContext object. This enables you to determine the identity supplied by IIS through the User property (the user Name is blank when anonymous identification is used), but does not use the supplied identity as the WindowsIdentity for the current page. The WindowsIdentity for an application is used when determining if the application has access to a particular file or network resource.


https://msdn.microsoft.com/en-us/library/134ec8tc.aspx


https://msdn.microsoft.com/en-us/library/ff650037.aspx

asp.net security

标签:

原文地址:http://www.cnblogs.com/WCFGROUP/p/4833286.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!