Re: Authentication between sites
From: Joe Kaplan \(MVP - ADSI\) (joseph.e.kaplan_at_removethis.accenture.com)
Date: 03/22/04
- Next message: serge calderara: "How to display Network login Window ???"
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: Authentication Issue (Anonymous user)"
- In reply to: Paul Glavich [MVP - ASP.NET]: "Re: Authentication between sites"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 21 Mar 2004 21:45:58 -0600
the header is authorization and value is:
Basic xxxxx
where xxxxx is the Base64 encoded value of the username/password combo, with
the username and password separated by a : character.
I'm not sure if the Base64 encoding is ASCII, UTF8 or UTF16, but I assume it
is one of the first two.
Joe K.
"Paul Glavich [MVP - ASP.NET]" <glav@aspalliance.com-NOSPAM> wrote in
message news:eDeiZ2kDEHA.3664@TK2MSFTNGP10.phx.gbl...
> Basic authentication means that the users credentials are sent in clear
text
> as part of the Http Header. So you could "fake it" by simply inserting
those
> credentials into the Http header, ensuring you have the name-value pair
> matched correctly.
>
> I can't remember off the top of my head what the http header must be
called
> exactly (ie. User or Username) nor the password, but a bit of sniffing
with
> Network Monitor or TCP trace will show you what you need to emulate
> (obviously enable basic auth on a local site and look at the packets when
> you authenticate).
>
> Network monitor is part of the Win2000/2003 Server install but you I am
sure
> you could find it elsewhere and it works fine under other OS's like XP.
You
> do have to add a Network monitor driver to your Network cards driver list
> though.
>
> TCP trace is also good and you can get that here
> http://www.pocketsoap.com/tcptrace/
>
> - Paul Glavich
>
> "Eric Zechman" <zechmane@-NOSPAM-grangeinsurance.com> wrote in message
> news:ewGBFcGDEHA.2576@TK2MSFTNGP11.phx.gbl...
> > I have two sites one and ASP.net site (that I own) and an other asp site
> (that is an other departments). Our users have already logged into my
site,
> they want to see a report on the other site. That other site is using
basic
> authentication, so everytime they go to view that report, it asks them to
> log in again. Is there any way that I can "fake" the log in, or set
> something in the browser to aviod this additional log in? I already know
> who they are to begin with.
> >
> > ---
> > Posted using Wimdows.net NntpNews Component -
> >
> > Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup
> engine supports Post Alerts, Ratings, and Searching.
>
>
- Next message: serge calderara: "How to display Network login Window ???"
- Previous message: Joe Kaplan \(MVP - ADSI\): "Re: Authentication Issue (Anonymous user)"
- In reply to: Paul Glavich [MVP - ASP.NET]: "Re: Authentication between sites"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|