IIS身份验证的配置

 

Machine generated alternative text: ?ffl: 3figHTTP 401 HUP 401 Windows 娖 HUP 401 11Forms 1E EJ HUP 302 /?韇1ASP.NETW#L

 

Screen clipping taken: 2014/9/28 15:15web

4者配置:localhost applicationHost.config <location path="">windows

2者配置:web.config服务器

要点:app

  1. 6项虽然列在一块儿,但在应用上却不是一个级别的;
  2. 4者属于IIS验证,其中大家验证不须要提交用户名密码,其余3个须要提供;
  3. Form身份验证属于ASP.NET验证,会经过web页面验证。要到达这个验证必须经过IIS验证(由于一个请求进入服务器后,先到IIS,而后才到Asp.Net应用程序),即若是要用到Form验证,那么前4者必须启动一个;
  4. Asp.net 默认运行的帐号由进程模式的标识指定(在应用程序池中),以下图,但用户能够经过web.config中的 identity来模拟其余帐户( <identity impersonate="false" password="*****" userName="administrator" />,经过调用System.Security.Principal.WindowsIdentity.GetCurrent().Name可查看此帐户

 

Machine generated alternative text: V
t鞀J
&9P*i(KB)
t9WJ(KB)
Ping i](!?
Ping 
n;
[identtyType, username, password) 
n
L L
a
).NET v4.5
).NET v4.5 Cias...
AspNetWebPa...
DefauitAppPooi
3QE
ea
ea
v4.0
v4.0
v4.0
v4.0
v4.0
False
1740
False
0
A
Timespan[j Array
o
o
A
False
30
90
Networkservice
90
False
90

 

Screen clipping taken: 2014/9/28 15:34ide

  1. web.configauthentication的对应关系:

Form验证--Formui

windows验证--Windowsspa

相关文章
相关标签/搜索