My project is what I thought is probably a popular one, so I'm hoping the solution is easy enough. To develop an Intranet using the functionality of forms authentication, but automatically logs in authenticated Active Directory users with their Windows authentication (so they do not have to sign in again after logging onto a computer).

So far I've got an ASP.NET(v4.0) website using Windows Authentication on IIS6 and it works well.

I've followed the posts listed below, but with my limited knowledge of asp.net & vb.net I'm struggling to get these solutions working - and I've also noted they are quite old so hopefully in later versions of .NET this has been sorted (though I cannot find anything). Or failing that, can any verify and expand on any of these so at least I know if they are still valid, and can look again at my interpretation.


Can anyone please point me in the right direction?


5 Years
Discussion Span
Last Post by JorgeM

I will not mark this as solved just yet as I'd be interested to know if anyone has a solution, but just for the record - I'm going with Windows Authentication...


I've followed the steps in one of the links you posted: http://msdn.microsoft.com/en-us/library/ms972958.aspx. You may notice that you can download the author's source code as well.

In any event, if this web app is for internal users only within the same domain or trusted domain, then Windows Authentication is an adequate solution. The only time you'll need forms based authentication is when a non-domain user tries to access the site. I would not build in additional complexity into the project if you do not absoluately have that extra requirement.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.