Re: User Identity

From: Kevin Spencer (kspencer_at_takempis.com)
Date: 07/28/04


Date: Wed, 28 Jul 2004 13:21:39 -0400

Authentication method is in the Properties dialog of your web site in the
IIS snap-in. You need to disallow anonymous access, and use Windows
Integrated Authentication.

In the user's IE, in the Security tab of the Internet Options dialog,
clicking "Custom Level" will bring up a detailed dialog of settings. At the
bottom is "User Authentication." Set it to automatically log in with current
User Name and Password. This will stop the dialog from coming up, as long as
the user is logged into the domain that the server is using.

-- 
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
"Joe" <anonymous@discussions.microsoft.com> wrote in message
news:5c3c01c474b6$12285700$a301280a@phx.gbl...
>
> Kevin,
>
>  Could you please point me to some examples/explain how I
> can set Windows Integrate Authentication for my
> application.
>
> I can only see a check box for the same in IIS which is
> ticked but the user still gets a username/password dialog
>
> could you kindly explain the process
>
> Thanks a lot for your help
>
> Regards
>
> Joeseph
>
> >-----Original Message-----
> >> what happens when I make a setup and this is deployed
> on
> >> the server.Is it anonymous access by default on the
> >> server.
> >
> >These permissions are managed by IIS. By default, web
> sites in IIS allow
> >anonymous access.
> >
> >> If so how can I authorize users in an intranet to
> access
> >> the web page without the username/password dialog
> coming
> >> up and at the same time get the NT Login of the user
> >
> >Use Windows Integrated Authentication.
> >
> >-- 
> >HTH,
> >Kevin Spencer
> >..Net Developer
> >Microsoft MVP
> >Big things are made up
> >of lots of little things.
> >
> >"Joe" <anonymous@discussions.microsoft.com> wrote in
> message
> >news:5b5a01c474ab$9f70dca0$a301280a@phx.gbl...
> >>
> >> Thanks a lot guys, Everyone was logging in anonymously
> >>
> >> I have 2 more questions and would appreciate if you
> guys
> >> could answer
> >>
> >> what happens when I make a setup and this is deployed
> on
> >> the server.Is it anonymous access by default on the
> >> server.
> >>
> >> If so how can I authorize users in an intranet to
> access
> >> the web page without the username/password dialog
> coming
> >> up and at the same time get the NT Login of the user
> >>
> >>
> >> Thanks for all your help
> >>
> >>
> >> >-----Original Message-----
> >> >Make sure you uncheck Anonymous access in IIS for your
> >> vitual directory.
> >> >Check Integrated Windows authenticaiton.
> >> >
> >> >Add <authentication mode="Windows" />  to web.config.
> >> >
> >> >I wouldn't mess with the <allow/deny users> until you
> >> can read the username.
> >> >
> >> >HTH,
> >> >Greg
> >> >
> >> >"Joe" <anonymous@discussions.microsoft.com> wrote in
> >> message
> >> >news:5ae901c47491$d4ef77c0$a501280a@phx.gbl...
> >> >>
> >> >>  I check for the NTLogin of a user by
> >> >> Page.User.Identity.Name,
> >> >>
> >> >> but when I put the app on the server the value for
> >> >> Page.User.Identity.Name  is ""
> >> >>
> >> >> I had the <allow users="*/> attribute commented out
> on
> >> my
> >> >> machine and had <deny users="?"/>
> >> >>
> >> >> how do I do this on the server to get the user
> NTLogin
> >> >> name
> >> >>
> >> >> thanks
> >> >
> >> >
> >> >.
> >> >
> >
> >
> >.
> >


Relevant Pages

  • Re: Windows Authentication method on IIS6
    ... The microsoft.public.windows.server.* groups deal with Windows 2003 ... The microsoft.public.inetserver.* groups deal with IIS ... > the authentication button, ... You can configure either one or multiple realm names on a server running IIS ...
    (microsoft.public.win2000.security)
  • Re: How to access Windows IIS User Info with Perl
    ... but the IIS server is configured for Windows ... allowed for Basic Authentication, Windows Authentication (or whatever ... Do you know if they are part of a standard ...
    (comp.lang.perl.misc)
  • Windows Authentication with IIS on separate machines
    ... Yes, setting Basic Authentication in IIS works, but the ... >in SQL server but doesn't work if user account was ... >imported from a Windows account. ...
    (microsoft.public.sqlserver.security)
  • RE: LOGON_USER through https tunnel
    ... Have you disabled anonymous access? ... Go to IIS Manager, right click on the site and go to Directory Security. ... Click the Edit button in Authentication and access control, ... Subject: LOGON_USER through https tunnel ...
    (Security-Basics)
  • Re: adding a new site results in iis error 401.1
    ... it means that the username/password you configured in IIS for the ... The reason you can get a 401.1 for anonymous access is this -- when you ... In general, the other authentication methods are pretty fast, unless your ...
    (microsoft.public.inetserver.iis)