ASP.NET 2.0 // IIS Authentication



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

.



Relevant Pages

  • Re: Domain Users into Local Admins
    ... checked the DNS is correct and made sure both ... > 3) User or machine is not in the container to which the GPO is linked. ... > 6) The user is a member of a group which is being filtered from the effect ... Kerberos authentication may not work. ...
    (microsoft.public.windows.server.security)
  • Re: Cross-Domain question (Parent - Child)
    ... LDAP binding for authentication. ... groups that a user is a member to figure out the assigned roles for a user. ... that our product will only support the universal groups in cross-domain case. ... query in a multidomain forest you may or may not see the value populated ...
    (microsoft.public.win2000.active_directory)
  • Re: Passthrough for ISA Proxy - passthrough
    ... be that way preferably before the ISA software was installed on the machine. ... The server is a member of the domain. ... in AD for this or add users individualy to the User Object. ... On Networks> Internal> Web Proxy> Authentication I have ...
    (microsoft.public.isa)
  • Re: Printer Permission Issue
    ... user's domain X account is a member of the local administrator's group? ... The user cannont print to a certain printer on domain Y w/o a username and ... Users computer cached the authentication of that printer ...
    (microsoft.public.win2000.networking)
  • Re: IIS 6.0 and Integrated Security - restricting logins
    ... out of the Users folder, except I noticed that I left 'Authenticated Users' ... "Ken Schaefer" wrote: ... >: NT AUTHORITY\NTLM Authentication ... If I check the user Member properties, he's not a member of any group at ...
    (microsoft.public.inetserver.iis.security)