web application and authentication

  • Thread starter Thread starter Brian
  • Start date Start date
B

Brian

Hello,
Does anyone know of a way to use windows
authentication in a web application? I am trying to limit
the people who can access the site on our intranet without
the need of a seperate sign on. If there is a way to do
it, is there any draw backs to using windows
authentication over the intranet with internet explorer?
Thanks for any replies.
 
Hi Brian,

ASP.NET Windows authentication uses IIS to authenticate callers

You may try to set IIS to enable the Windows authentication by following
the steps below.
1 Run inetmgr in the Run dialog and this will open the Internet Information
Services(IIS) Manager
2.Navigated to Internet Information Services/<Computer Name>/Web
Sites/Default Web Site/<WebApplication5>, (This is the application name
that you indicated in the VS.NET IDE),
3 Right Click on the WebApplication5 and select Properties, this will open
the WebApplication5 Properties dialog.
4 Select Directory security and then select Authentication and access
control section click the Edit button. This will open the Authentication
methods dialog
5 Uncheck the Enable anonymous access and check the Integrated Windows
authentication. This will enable the browse use the log on user account to
access the aspx page.
6 You may have a try and let me know the result.

If you use the Integrated Windows authentication security modal as above,
then the other anonymous user who do not have the windows domain account
will not be able to access the webpage.

If you have any related question please feel free to let me know.


Here is an article you may take a look.
Building Secure ASP.NET Applications: Authentication, Authorization, and
Secure Communication
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/ht
ml/secnetlpMSDN.asp

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Back
Top