Different behavior for Windows Authentication with same app

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

  1. #1

    Default Different behavior for Windows Authentication with same app

    I have an asp.net app that uses windows authentication. I'm doing my
    development and testing from one box. In the browser if I enter:
    [url]http://mybox/virtualdirectory/default.aspx[/url] everything works as I would
    expect. It recognizes my login and away I go.

    However, if I enter [url]http://mybox.mycompany.com/virtualdirectlry/default.aspx[/url]
    I am immediately prompted for a Username/Password. What gives?

    Can anyone give me a simple explanation and what I must configure
    (machine.config, web.config or IIS)?

    Thanks in Advance,
    Otis...


    Jonathan Parker Guest

  2. Similar Questions and Discussions

    1. Server behavior User Authentication is missing
      Server behavior User Authentication is missing I'm trying to make a login and according to the help file have to go to application, click the + ,...
    2. Missing User Authentication behavior
      I'm trying to restrict a page on my site using dreamweaver and PHP, but I don't have under server behavior the User Authentication option to select...
    3. 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...
    4. Strange behavior using SSL and "FORMS" authentication.
      Hello I am using "FORMS" authentication, without SSL the behavior is normal, everythings working very well When in IIS I cheking "Require SSL"...
    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. #2

    Default Re: Different behavior for Windows Authentication with same app

    I suspect that you're using Internet Explorer (but can't be sure, because
    you don't tell us).

    For sites in the "Intranet" IE security zone, IE will automatically send
    your username/password if the server requests it. For sites in the
    "Internet" zone (and this includes, by default, all sites that include a .
    in their DNS name), IE will prompt you for your username/password.

    Cheers
    Ken


    "Jonathan Parker" <jayboparker@mediaone.net> wrote in message
    news:%23RE1fQcaDHA.4020@tk2msftngp13.phx.gbl...
    : I have an asp.net app that uses windows authentication. I'm doing my
    : development and testing from one box. In the browser if I enter:
    : [url]http://mybox/virtualdirectory/default.aspx[/url] everything works as I would
    : expect. It recognizes my login and away I go.
    :
    : However, if I enter
    [url]http://mybox.mycompany.com/virtualdirectlry/default.aspx[/url]
    : I am immediately prompted for a Username/Password. What gives?
    :
    : Can anyone give me a simple explanation and what I must configure
    : (machine.config, web.config or IIS)?
    :
    : Thanks in Advance,
    : Otis...
    :
    :


    Ken Schaefer Guest

  4. #3

    Default Re: Different behavior for Windows Authentication with same app

    Ken,
    THANKS! This was exactly the issue. Sorry I didn't get back sooner with my
    appreciation.
    Otis...

    "Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
    news:eZJ2h$daDHA.1004@TK2MSFTNGP12.phx.gbl...
    > I suspect that you're using Internet Explorer (but can't be sure, because
    > you don't tell us).
    >
    > For sites in the "Intranet" IE security zone, IE will automatically send
    > your username/password if the server requests it. For sites in the
    > "Internet" zone (and this includes, by default, all sites that include a .
    > in their DNS name), IE will prompt you for your username/password.
    >
    > Cheers
    > Ken
    >
    >
    > "Jonathan Parker" <jayboparker@mediaone.net> wrote in message
    > news:%23RE1fQcaDHA.4020@tk2msftngp13.phx.gbl...
    > : I have an asp.net app that uses windows authentication. I'm doing my
    > : development and testing from one box. In the browser if I enter:
    > : [url]http://mybox/virtualdirectory/default.aspx[/url] everything works as I would
    > : expect. It recognizes my login and away I go.
    > :
    > : However, if I enter
    > [url]http://mybox.mycompany.com/virtualdirectlry/default.aspx[/url]
    > : I am immediately prompted for a Username/Password. What gives?
    > :
    > : Can anyone give me a simple explanation and what I must configure
    > : (machine.config, web.config or IIS)?
    > :
    > : Thanks in Advance,
    > : Otis...
    > :
    > :
    >
    >

    otis 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