Re: Return credentials with anonymous authentication?

From: shimon f (fshimon_at_malam-zafon.co.il)
Date: 08/25/04


Date: Wed, 25 Aug 2004 09:16:04 +0300

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?
> >
> >
>
>



Relevant Pages

  • Re: Default.aspx - newbie Q`
    ... check and redirect to the ReturnURL or Selected.aspx depending on the case. ... > and replace it with something that takes then straight to the login page. ... >> Curt Christianson ... >>> authentication ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Default.aspx - newbie Q`
    ... check and redirect to the ReturnURL or Selected.aspx depending on the case. ... > and replace it with something that takes then straight to the login page. ... >> Curt Christianson ... >>> authentication ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ASP 2.0 Membership API
    ... After successful authentication, you want to redirect back to the original application, but the returnURL parameter contains only /App1 as the URL. ... The solution to that problem is adding a local login page to the application that does a manual redirect to the central authentication application. ... if not you have to use cookieless auth ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Detecting Failed Authorization
    ... after every authentication request and before the user ... is redirected to any login page. ... > "Ken Dopierala Jr." ... >> 'Redirect where you want the user to go. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: I cant login to Sql no matter what i try! im ignorant and i need help :)
    ... It sounds like your server is configured for Windows authentication ... >requested in login 'T254DN_Staging'. ...
    (microsoft.public.dotnet.framework.aspnet.security)