Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / June 2008

Tip: Looking for answers? Try searching our database.

Login for Windows Authentication

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SF - 29 Jun 2008 04:17 GMT
Hi,

I am nes to ASP.NET. I try to develop on online form for my office that
requiore use to login using Windows Authentication (Use name active
directory). I am search to web and could not found any sample.

Appreciate if someone provide some lead.

SF
Juan T. Llibre - 29 Jun 2008 06:43 GMT
re:
!> requiore use to login using Windows Authentication (Use name active directory).
!> I am search to web and could not found any sample.

There's quite a few leads in this Google search :
http://www.google.com/search?hl=en&q=login+%22Windows+Authentication%22+%22asp.n
et%22+%22active+directory%22


The first link returned is :
http://weblogs.asp.net/scottgu/archive/2006/07/12/Recipe_3A00_-Enabling-Windows-
Authentication-within-an-Intranet-ASP.NET-Web-application.aspx


There's good tips in this article :
http://www.codeproject.com/KB/aspnet/WindowsSecuritynASPNet.aspx

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
> Hi,
>
[quoted text clipped - 4 lines]
>
> SF
John Rivers - 30 Jun 2008 23:11 GMT
> Hi,
>
[quoted text clipped - 5 lines]
>
> SF

You can use IIS Admin to require Windows Authentication for a Virtual
Directory or other Directory (turn off Anonymous access)

Browser will supply login credentials of user running browser (note
there are Internet Explorer security options that modify this
behaviour)
(I do not think Firefox can do NTLM Authentication - but I could be
wrong)

Now your Web Application can determine who is logged in using the
LOGON_USER server variable

Debugging security access can be done with a combination of Event
Viewer, setting Local Security Policy auditing options and using
sysinternals TokenMon

Consider using custom error page in event of authentication problems -
explain about Firefox and IE security options etc.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.