Windows Authentication

Ask a Question related to ASP.NET Security, Design and Development.

  1. #21

    Default Windows Authentication

    Hi

    I'm trying to implement a forms based NT authentication mechanisum..

    I've managed this for Windows 2000 / NT users, XP users.... but sadly not fo
    9x users i.e. Windows 95 and Windows 98 / ME users...

    I'm after the user logging into a web based server application with their Windows Username & Password, this information is then authneticated and the user then connects to a portal application ( implementing single sign on...!

    However all 95 / 98 and ME users don't get authenticated..

    I'm using the LogonUser AP

    How might I implement this...

    Regards
    Nick Wright Guest

  2. Similar Questions and Discussions

    1. Windows authentication in 3
      Hi all. I'm designing a system consists of 3 parts: 1.asp.net web client app 2. web service router using Web service enhancements 2.0 3....
    2. ASP.NET Authentication and Windows Authentication
      Hello, I'm developing a web application that will run on an Intranet. I'll use Windows Authentication, so users can access the application...
    3. Windows Authentication - what happens when it's not available?
      Hi I'm developing an Intranet system for a client, and am looking at using Windows Authentication, so that the network users don't have to log...
    4. windows authentication..
      Hi I'm stuck with a user authentication issue and desperately need some help. here's the situation - I have a web application where all the users...
    5. Forms authentication with Windows authentication
      Hi, I have an ASP.NET web site that uses IIS Basic Authentication and accesses an OLAP Server at various stages. The OLAP Server authentication...
  3. #22

    Default Windows Authentication

    How do you create a Windows Authenticated Ticket using FormsAuthentication. Microsoft states that it is possible, but Ihaven't figured out how? Or more simpliar, how can you programmatically create a Windows Authenticated Ticket to beused by all pages with in the site?
    There is not much documentation on AuthenticationManager.
    --------------------------------
    From: Todd Evans

    -----------------------
    Posted by a user from .NET 247 ([url]http://www.dotnet247.com/[/url])

    <Id>paOfxZCM00aU1YinUyOJSg==</Id>
    Todd Evans via .NET 247 Guest

  4. #23

    Default RE: Windows Authentication

    Check out the IPrincipal and IIdentity classes. You may also want to check out the blog posting at [url]http://blogs.msdn.com/dansellers/archive/2004/03/13/89203.aspx[/url].
    David Coe, MCP Guest

  5. #24

    Default windows authentication

    I've got the following settings in my web.config file which is working
    properly, however my users want to see the login prompt each time the
    visit the site. Is there a setting or code that I can impliment so
    that users are prompted upon each visit?

    <authentication mode="Windows">
    </authentication>
    <identity impersonate="false" />
    <authorization>
    <allow roles="domain\xxx1, domain\xxx2"
    users="domain\user1, domain\user2" />
    <deny users="*"/>
    </authorization>


    Thanks in advance,
    Mike.
    MB Guest

  6. #25

    Default Re: windows authentication

    If you use Basic authentication, you will always get prompted (make sure you
    combine that with SSL if you do). If you use Integrated auth, then the
    prompt will be based on your IE settings. IE can be set to always prompt,
    or send the current user's credentials automatically. If you use group
    policy in your organization, I believe you can control this browser setting
    with that.

    Joe K.

    "MB" <mikebanks@clearchannel.com> wrote in message
    news:f3f8a088.0409161339.7dd0893f@posting.google.c om...
    > I've got the following settings in my web.config file which is working
    > properly, however my users want to see the login prompt each time the
    > visit the site. Is there a setting or code that I can impliment so
    > that users are prompted upon each visit?
    >
    > <authentication mode="Windows">
    > </authentication>
    > <identity impersonate="false" />
    > <authorization>
    > <allow roles="domain\xxx1, domain\xxx2"
    > users="domain\user1, domain\user2" />
    > <deny users="*"/>
    > </authorization>
    >
    >
    > Thanks in advance,
    > Mike.

    Joe Kaplan \(MVP - ADSI\) Guest

  7. #26

    Default Re: windows authentication

    Here's a list of conditions that must be met for IE to auto-logon (the
    defaults):
    [url]http://support.microsoft.com/?id=258063[/url]

    So, you could change IE's settings, you could get your users to use the FQDN
    or IP address of the server, use Basic or Digest authentication etc.

    Cheers
    Ken


    "MB" <mikebanks@clearchannel.com> wrote in message
    news:f3f8a088.0409161339.7dd0893f@posting.google.c om...
    > I've got the following settings in my web.config file which is working
    > properly, however my users want to see the login prompt each time the
    > visit the site. Is there a setting or code that I can impliment so
    > that users are prompted upon each visit?
    >
    > <authentication mode="Windows">
    > </authentication>
    > <identity impersonate="false" />
    > <authorization>
    > <allow roles="domain\xxx1, domain\xxx2"
    > users="domain\user1, domain\user2" />
    > <deny users="*"/>
    > </authorization>
    >
    >
    > Thanks in advance,
    > Mike.

    Ken Schaefer Guest

  8. #27

    Default Windows Authentication


    Guys,

    Have a major problem with a portal that I am working on. I am using
    Windows Authentication with Custom Roles (Stored in SQL backend). If I
    want to add/remove a user/group or change a user's role, I have to
    restart the IIS service before it is applied. As soon as the IIS
    service restarts the user takes on this new role. Is there any way
    around this?

    Hope so.

    Simon



    --
    simonlevey
    ------------------------------------------------------------------------
    Posted via [url]http://www.codecomments.com[/url]
    ------------------------------------------------------------------------

    simonlevey Guest

  9. #28

    Default Re: Windows Authentication

    Hello simonlevey,

    how do you attach the roles to the Prinicpal object?

    ---------------------------------------
    Dominick Baier - DevelopMentor
    [url]http://www.leastprivilege.com[/url]
    > Guys,
    >
    > Have a major problem with a portal that I am working on. I am using
    > Windows Authentication with Custom Roles (Stored in SQL backend). If I
    > want to add/remove a user/group or change a user's role, I have to
    > restart the IIS service before it is applied. As soon as the IIS
    > service restarts the user takes on this new role. Is there any way
    > around this?
    >
    > Hope so.
    >
    > Simon
    >
    > --
    > simonlevey
    > ----------------------------------------------------------------------
    > --
    > Posted via [url]http://www.codecomments.com[/url]
    > ----------------------------------------------------------------------
    > --


    Dominick Baier [DevelopMentor] Guest

  10. #29

    Default Windows Authentication


    Hi,

    I have edited the global.asax to retrieve the users/roles from a SQL
    table. These are placed in a hashtable. I have then used the
    WindowsAuthentication_Authenticate sub to assign a new GenericPrincipal
    to the users....

    I have done some more testing today and have found that the user
    changes will actually apply if you wait long enough. I have not found
    out how long this is but it appears to be an hour or so. I have
    attached a copy of the global.asax.vb file that I have used.

    If you could have a look I would be really gratefull.


    +----------------------------------------------------------------+
    | Attachment filename: global.asax.vb.txt |
    |Download attachment: [url]http://www.codecomments.com/attachment.php?postid=1622993[/url] |
    +----------------------------------------------------------------+


    --
    simonlevey
    ------------------------------------------------------------------------
    Posted via [url]http://www.codecomments.com[/url]
    ------------------------------------------------------------------------

    simonlevey Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139