RE: Windows Authentication Question for ASP
From: Jian-Wei Yu [MS] (jwyu@online.microsoft.com)
Date: 11/01/02
- Next message: Boyan Dimitrov: "Windows authentication"
- Previous message: Josh Larkin: "worker threads in asp.net"
- In reply to: Danny J. Lesandrini: "Windows Authentication Question for ASP"
- Next in thread: DS: "Re: Windows Authentication Question for ASP"
- Reply: DS: "Re: Windows Authentication Question for ASP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: jwyu@online.microsoft.com (Jian-Wei Yu [MS]) Date: Fri, 01 Nov 2002 07:22:02 GMT
Hello,
Thank you for using the Microsoft Newsgroups.
To perform Windows authentication in asp.net, please test the following
steps.
1, In IIS, select the virtual directory, click the Directory Security tab,
uncheck Anonymous Access and check Integrated Windows authentication.
2. In the web.config file, locate the <authentication> tag, and set the
mode to Windows. The syntax for this is listed below.
<authentication mode="Windows" />
3. You can check the user's identity using the command:
<%=User.Identity.Name%>
Please also refer to:
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q317012
If you have any questions, please reply to this post.
Regards,
Jian-Wei Yu
Microsoft Support
This posting is provided "AS IS" with no warranties, and confers no rights.
- Next message: Boyan Dimitrov: "Windows authentication"
- Previous message: Josh Larkin: "worker threads in asp.net"
- In reply to: Danny J. Lesandrini: "Windows Authentication Question for ASP"
- Next in thread: DS: "Re: Windows Authentication Question for ASP"
- Reply: DS: "Re: Windows Authentication Question for ASP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|