Return credentials with anonymous authentication?

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

  1. #1

    Default Return credentials with anonymous authentication?

    Hi all,

    This is my Scenario:
    Have a login page in Application 1 with Anoynoumous authentication.
    Using this login page I would like to receive credentials from Active
    Directory (using Directoryservices I assume),
    and somehow return them back to the client browser as if I made login in a
    Windows authenticated application.

    I need this because if login is successfull I need to redirect user to
    Application 2 which is under Windows authentication security and I don't
    want the login popup to appear (e.q the user to login again).

    Is this possible?


    Shimon Facterman Guest

  2. Similar Questions and Discussions

    1. How to get integrated credentials from anonymous access
      I want to allow both anonymous and integrated access to a web service simultaneously. That is, if the calling user can be authenticated on the...
    2. Authentication popup comes up for Anonymous allowed app
      I have a asp.net web application on windows 2000 advanced server having latest security updates installed and .net framework 1.1. with latest patch....
    3. Authentication for anonymous users?
      What should I do for realising the following task: Anonymous users can browse my ASP.net site( limited number of pages), but when the try to access...
    4. Forms Authentication Anonymous User
      Hi, I have implemented Forms-Based Authentication for a website I am designing which is working fine. However I want to get a list of Roles for...
    5. Problem with anonymous authentication
      Hello, I have got an ASP.NET web site which enable anonymous authentication. When i try to hit this web site from machine X, it works. When i...
  3. #2

    Default Re: Return credentials with anonymous authentication?

    If I understand you correctly, this cannot be done. There is no way a webserver can pass Internet Explorer the credentials it now should use in place of its current credentials. It sounds like though that if you start Internet Explorer using the "Run As" command, you should be able to change the credentials to something other than the currently logged on user. To start using "Run As" you have to be running 2000+, find the iexplore.exe file, right click (you need to hold "shift" in windows 2000), select "Run As...", enter the new credentials, and browse to Application 2.

    Hope this helps,
    --Michael

    "Shimon Facterman" <fshimon@malam-zafon.co.il> wrote in message news:%23Js2T$RiEHA.1344@TK2MSFTNGP11.phx.gbl...
    > Hi all,
    >
    > This is my Scenario:
    > Have a login page in Application 1 with Anoynoumous authentication.
    > Using this login page I would like to receive credentials from Active
    > Directory (using Directoryservices I assume),
    > and somehow return them back to the client browser as if I made login in a
    > Windows authenticated application.
    >
    > I need this because if login is successfull I need to redirect user to
    > Application 2 which is under Windows authentication security and I don't
    > want the login popup to appear (e.q the user to login again).
    >
    > Is this possible?
    >
    >
    Raterus Guest

  4. #3

    Default Re: Return credentials with anonymous authentication?

    Maybe my definition was wrong.
    what I really need as the ability to get authenticated to active directory
    through custom login page in an anonymous authentication site as if
    I was now authenticating in an windows authentication site (with the gray
    username/password popup window).
    This way if i will ne next navigation to real windows authentication site I
    will no longer be needing to get authenticated again.

    Hope that is clearer now.

    "Raterus" <moc.liamtoh@suretar.reverse> wrote in message
    news:#cw#d9SiEHA.4056@TK2MSFTNGP09.phx.gbl...
    If I understand you correctly, this cannot be done. There is no way a
    webserver can pass Internet Explorer the credentials it now should use in
    place of its current credentials. It sounds like though that if you start
    Internet Explorer using the "Run As" command, you should be able to change
    the credentials to something other than the currently logged on user. To
    start using "Run As" you have to be running 2000+, find the iexplore.exe
    file, right click (you need to hold "shift" in windows 2000), select "Run
    As...", enter the new credentials, and browse to Application 2.

    Hope this helps,
    --Michael

    "Shimon Facterman" <fshimon@malam-zafon.co.il> wrote in message
    news:%23Js2T$RiEHA.1344@TK2MSFTNGP11.phx.gbl...
    > Hi all,
    >
    > This is my Scenario:
    > Have a login page in Application 1 with Anoynoumous authentication.
    > Using this login page I would like to receive credentials from Active
    > Directory (using Directoryservices I assume),
    > and somehow return them back to the client browser as if I made login in a
    > Windows authenticated application.
    >
    > I need this because if login is successfull I need to redirect user to
    > Application 2 which is under Windows authentication security and I don't
    > want the login popup to appear (e.q the user to login again).
    >
    > Is this possible?
    >
    >

    Shimon Facterman Guest

  5. #4

    Default Re: Return credentials with anonymous authentication?

    I'm sorry, but what you wrote only confused me more, can you try to explain it again with different terms?

    "Shimon Facterman" <fshimon@malam-zafon.co.il> wrote in message news:OlpXc%23ZiEHA.3148@TK2MSFTNGP10.phx.gbl...
    > Maybe my definition was wrong.
    > what I really need as the ability to get authenticated to active directory
    > through custom login page in an anonymous authentication site as if
    > I was now authenticating in an windows authentication site (with the gray
    > username/password popup window).
    > This way if i will ne next navigation to real windows authentication site I
    > will no longer be needing to get authenticated again.
    >
    > Hope that is clearer now.
    >
    > "Raterus" <moc.liamtoh@suretar.reverse> wrote in message
    > news:#cw#d9SiEHA.4056@TK2MSFTNGP09.phx.gbl...
    > If I understand you correctly, this cannot be done. There is no way a
    > webserver can pass Internet Explorer the credentials it now should use in
    > place of its current credentials. It sounds like though that if you start
    > Internet Explorer using the "Run As" command, you should be able to change
    > the credentials to something other than the currently logged on user. To
    > start using "Run As" you have to be running 2000+, find the iexplore.exe
    > file, right click (you need to hold "shift" in windows 2000), select "Run
    > As...", enter the new credentials, and browse to Application 2.
    >
    > Hope this helps,
    > --Michael
    >
    > "Shimon Facterman" <fshimon@malam-zafon.co.il> wrote in message
    > news:%23Js2T$RiEHA.1344@TK2MSFTNGP11.phx.gbl...
    > > Hi all,
    > >
    > > This is my Scenario:
    > > Have a login page in Application 1 with Anoynoumous authentication.
    > > Using this login page I would like to receive credentials from Active
    > > Directory (using Directoryservices I assume),
    > > and somehow return them back to the client browser as if I made login in a
    > > Windows authenticated application.
    > >
    > > I need this because if login is successfull I need to redirect user to
    > > Application 2 which is under Windows authentication security and I don't
    > > want the login popup to appear (e.q the user to login again).
    > >
    > > Is this possible?
    > >
    > >
    >
    >
    Raterus Guest

  6. #5

    Default Re: Return credentials with anonymous authentication?

    When you navigate to a site that is uses windows authentication I am
    challenged with username/password/domain.
    If I successfully login and than redirected to another site in the same
    domain I will no longer be needing to get authenticated.

    In my case I am browsing in a site that has anonymous access + maybe also
    windows authentication.
    I need to implement login page. In this login page I will enter
    username/password/domain and will get authenticated to Active directory.
    My problem is that I want that my browser will also hold this
    "authentication" AS IF I GOT AUTHENTICATED in a site that is protected by
    windows authentication. This is because that next, when I will be redirected
    to another site in the same domain I will no longer be needing to get
    authenticated (no popup windows login window).

    This is the best way I can explain this.

    Shimon



    "Raterus" <moc.liamtoh@suretar.reverse> wrote in message
    news:#4oohHiiEHA.556@tk2msftngp13.phx.gbl...
    I'm sorry, but what you wrote only confused me more, can you try to explain
    it again with different terms?

    "Shimon Facterman" <fshimon@malam-zafon.co.il> wrote in message
    news:OlpXc%23ZiEHA.3148@TK2MSFTNGP10.phx.gbl...
    > Maybe my definition was wrong.
    > what I really need as the ability to get authenticated to active directory
    > through custom login page in an anonymous authentication site as if
    > I was now authenticating in an windows authentication site (with the gray
    > username/password popup window).
    > This way if i will ne next navigation to real windows authentication site
    I
    > will no longer be needing to get authenticated again.
    >
    > Hope that is clearer now.
    >
    > "Raterus" <moc.liamtoh@suretar.reverse> wrote in message
    > news:#cw#d9SiEHA.4056@TK2MSFTNGP09.phx.gbl...
    > If I understand you correctly, this cannot be done. There is no way a
    > webserver can pass Internet Explorer the credentials it now should use in
    > place of its current credentials. It sounds like though that if you start
    > Internet Explorer using the "Run As" command, you should be able to change
    > the credentials to something other than the currently logged on user. To
    > start using "Run As" you have to be running 2000+, find the iexplore.exe
    > file, right click (you need to hold "shift" in windows 2000), select "Run
    > As...", enter the new credentials, and browse to Application 2.
    >
    > Hope this helps,
    > --Michael
    >
    > "Shimon Facterman" <fshimon@malam-zafon.co.il> wrote in message
    > news:%23Js2T$RiEHA.1344@TK2MSFTNGP11.phx.gbl...
    > > Hi all,
    > >
    > > This is my Scenario:
    > > Have a login page in Application 1 with Anoynoumous authentication.
    > > Using this login page I would like to receive credentials from Active
    > > Directory (using Directoryservices I assume),
    > > and somehow return them back to the client browser as if I made login in
    a
    > > Windows authenticated application.
    > >
    > > I need this because if login is successfull I need to redirect user to
    > > Application 2 which is under Windows authentication security and I don't
    > > want the login popup to appear (e.q the user to login again).
    > >
    > > Is this possible?
    > >
    > >
    >
    >

    shimon f Guest

  7. #6

    Default Re: Return credentials with anonymous authentication?

    I have to go back on my first answer for this one, can't be done...

    "shimon f" <fshimon@malam-zafon.co.il> wrote in message news:uGhYSsmiEHA.3476@tk2msftngp13.phx.gbl...
    > When you navigate to a site that is uses windows authentication I am
    > challenged with username/password/domain.
    > If I successfully login and than redirected to another site in the same
    > domain I will no longer be needing to get authenticated.
    >
    > In my case I am browsing in a site that has anonymous access + maybe also
    > windows authentication.
    > I need to implement login page. In this login page I will enter
    > username/password/domain and will get authenticated to Active directory.
    > My problem is that I want that my browser will also hold this
    > "authentication" AS IF I GOT AUTHENTICATED in a site that is protected by
    > windows authentication. This is because that next, when I will be redirected
    > to another site in the same domain I will no longer be needing to get
    > authenticated (no popup windows login window).
    >
    > This is the best way I can explain this.
    >
    > Shimon
    >
    >
    >
    > "Raterus" <moc.liamtoh@suretar.reverse> wrote in message
    > news:#4oohHiiEHA.556@tk2msftngp13.phx.gbl...
    > I'm sorry, but what you wrote only confused me more, can you try to explain
    > it again with different terms?
    >
    > "Shimon Facterman" <fshimon@malam-zafon.co.il> wrote in message
    > news:OlpXc%23ZiEHA.3148@TK2MSFTNGP10.phx.gbl...
    > > Maybe my definition was wrong.
    > > what I really need as the ability to get authenticated to active directory
    > > through custom login page in an anonymous authentication site as if
    > > I was now authenticating in an windows authentication site (with the gray
    > > username/password popup window).
    > > This way if i will ne next navigation to real windows authentication site
    > I
    > > will no longer be needing to get authenticated again.
    > >
    > > Hope that is clearer now.
    > >
    > > "Raterus" <moc.liamtoh@suretar.reverse> wrote in message
    > > news:#cw#d9SiEHA.4056@TK2MSFTNGP09.phx.gbl...
    > > If I understand you correctly, this cannot be done. There is no way a
    > > webserver can pass Internet Explorer the credentials it now should use in
    > > place of its current credentials. It sounds like though that if you start
    > > Internet Explorer using the "Run As" command, you should be able to change
    > > the credentials to something other than the currently logged on user. To
    > > start using "Run As" you have to be running 2000+, find the iexplore.exe
    > > file, right click (you need to hold "shift" in windows 2000), select "Run
    > > As...", enter the new credentials, and browse to Application 2.
    > >
    > > Hope this helps,
    > > --Michael
    > >
    > > "Shimon Facterman" <fshimon@malam-zafon.co.il> wrote in message
    > > news:%23Js2T$RiEHA.1344@TK2MSFTNGP11.phx.gbl...
    > > > Hi all,
    > > >
    > > > This is my Scenario:
    > > > Have a login page in Application 1 with Anoynoumous authentication.
    > > > Using this login page I would like to receive credentials from Active
    > > > Directory (using Directoryservices I assume),
    > > > and somehow return them back to the client browser as if I made login in
    > a
    > > > Windows authenticated application.
    > > >
    > > > I need this because if login is successfull I need to redirect user to
    > > > Application 2 which is under Windows authentication security and I don't
    > > > want the login popup to appear (e.q the user to login again).
    > > >
    > > > Is this possible?
    > > >
    > > >
    > >
    > >
    >
    >
    Raterus 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