Mixing Windows and Forms Authentication

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

  1. #1

    Default Mixing Windows and Forms Authentication

    I was looking a way to have the Windows and Forms Authentication on the same
    site, and I found a Paul Wilson's article on MSDN.

    I've downloaded the code, and I'm trying to make it work. But I got some
    problems..., it works well with Windows Authentication, but when it comes
    about Forms, it doesn't work properly.

    When I access the site outside the domain, it shows an user and password
    login window, asking me to autenticate on the domain. I only access
    WebLogin.aspx when I fill this window correctly.

    This windows is supposed to not be showed, can anyone help me find out
    what's wrong?

    Thanks
    Fabio Gouw Guest

  2. Similar Questions and Discussions

    1. issues mixing integrated Windows authentication and anonymous on same application
      I'm having issues mixing integrated Windows authentication and anonymous access on same IIS app. Basically, any post back event fails (Forms...
    2. Forms and Windows Authentication
      Hello! I have a project that I'm working on and have some thoughts on how to secure it but was hoping to get suggestions on the feasibility of my...
    3. 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...
    4. Forms / Windows Authentication
      I have an application where I would like to present a nice HTML based login page but log the user in using Windows Authentication. I know that...
    5. Mixing Forms Authentication with User Accounts in ASP.NET
      Put simply, I want to use a custom form where a user can enter their Windows Domain Account and password, and have that validated. i.e. I do not...
  3. #2

    Default Re: Mixing Windows and Forms Authentication

    You may have checked both Basic and NTLM auth in IIS so you will use NTLM
    inside the domain and Basic when accessing outside the domain.
    There is another article from the same author that shows a slight different
    method albeit with a less complex setup.
    [url]http://aspalliance.com/553[/url]

    The overall strategy (double entry point) its cleaner than the first
    approach though it may be added some further improvements in the Forms Auth
    area.

    --
    Hernan de Lahitte
    [url]http://weblogs.asp.net/hernandl[/url]

    "Fabio Gouw" <FabioGouw@discussions.microsoft.com> wrote in message
    news:CC99C63C-E94B-46DA-92E2-2175AA47AB7F@microsoft.com...
    >I was looking a way to have the Windows and Forms Authentication on the
    >same
    > site, and I found a Paul Wilson's article on MSDN.
    >
    > I've downloaded the code, and I'm trying to make it work. But I got some
    > problems..., it works well with Windows Authentication, but when it comes
    > about Forms, it doesn't work properly.
    >
    > When I access the site outside the domain, it shows an user and password
    > login window, asking me to autenticate on the domain. I only access
    > WebLogin.aspx when I fill this window correctly.
    >
    > This windows is supposed to not be showed, can anyone help me find out
    > what's wrong?
    >
    > Thanks

    Hernan de Lahitte Guest

  4. #3

    Default Re: Mixing Windows and Forms Authentication

    Yes, I have the same issue. It immediately takes me to the FBA login
    window when I cancel but I don't want the prompt to come up in the
    first place.

    On Fri, 10 Dec 2004 03:31:03 -0800, "Fabio Gouw"
    <FabioGouw@discussions.microsoft.com> wrote:
    >I was looking a way to have the Windows and Forms Authentication on the same
    >site, and I found a Paul Wilson's article on MSDN.
    >
    >I've downloaded the code, and I'm trying to make it work. But I got some
    >problems..., it works well with Windows Authentication, but when it comes
    >about Forms, it doesn't work properly.
    >
    >When I access the site outside the domain, it shows an user and password
    >login window, asking me to autenticate on the domain. I only access
    >WebLogin.aspx when I fill this window correctly.
    >
    >This windows is supposed to not be showed, can anyone help me find out
    >what's wrong?
    >
    >Thanks
    Phillip Jubb Guest

  5. #4

    Default Re: Mixing Windows and Forms Authentication

    You may have checked both Basic and NTLM auth in IIS so you will use NTLM
    inside the domain and Basic when accessing outside the domain.
    There is another article from the same author that shows a slight different
    method albeit with a less complex setup.
    [url]http://aspalliance.com/553[/url]

    The overall strategy (double entry point) its cleaner than the first
    approach though it may be added some further improvements in the Forms Auth
    area.

    --

    Hernan de Lahitte

    [url]http://weblogs.asp.net/hernandl[/url]

    [url]http://www.lagash.com/english/index.html[/url]



    "An expert is one who knows more and more about less and less until he knows
    absolutely everything about nothing".




    "Phillip Jubb" <philjubb@SPAMMYgmail.com> wrote in message
    news:g3ojr0h8tgncna1qoodc20v53eu7hva5dj@4ax.com...
    > Yes, I have the same issue. It immediately takes me to the FBA login
    > window when I cancel but I don't want the prompt to come up in the
    > first place.
    >
    > On Fri, 10 Dec 2004 03:31:03 -0800, "Fabio Gouw"
    > <FabioGouw@discussions.microsoft.com> wrote:
    >
    >>I was looking a way to have the Windows and Forms Authentication on the
    >>same
    >>site, and I found a Paul Wilson's article on MSDN.
    >>
    >>I've downloaded the code, and I'm trying to make it work. But I got some
    >>problems..., it works well with Windows Authentication, but when it comes
    >>about Forms, it doesn't work properly.
    >>
    >>When I access the site outside the domain, it shows an user and password
    >>login window, asking me to autenticate on the domain. I only access
    >>WebLogin.aspx when I fill this window correctly.
    >>
    >>This windows is supposed to not be showed, can anyone help me find out
    >>what's wrong?
    >>
    >>Thanks
    >

    Hernan de Lahitte 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