ASP.NET 2.0 // IIS Authentication
- From: "Samuel" <samichlaus@xxxxxxxxx>
- Date: Mon, 14 Jan 2008 16:21:54 +0100
Hi
I'm trying to build a kind of small intranet page. We have some Intranet users which are member of the active directory, others which aren't.
The main idea is that the users can go to http://intranet and if they are authenticated automatically, the just get the page content, if not, they have to enter a special user and password.
For checking which user is authenticated, I use HttpContext.Current.Request.ServerVariables["LOGON_USER"]
I have an asp.net page handling all the output, but run into the following problems
- if I disable "anonymous access" and enable integraded windows authentication: then I get the nt-username if computer is in the domain, if the computer is not in the domain, i get the authentication popup in the browser, but I don't won't to show this one, instead a login page should come up.
- if i enable "anonymous access" i don't get the NT username with the ServerVariable, it's always empty, even if the computer is member of the domain.
Any ideas how a solution could work??
Thanks for any hints
Samuel
.
- Follow-Ups:
- Re: ASP.NET 2.0 // IIS Authentication
- From: David Wang
- Re: ASP.NET 2.0 // IIS Authentication
- Prev by Date: Re: C F S 3 THE END????????????????????????????????
- Next by Date: lockdown tool and IIS 6
- Previous by thread: Re: C F S 3 THE END????????????????????????????????
- Next by thread: Re: ASP.NET 2.0 // IIS Authentication
- Index(es):
Relevant Pages
|