Re: Passing credentials from asp.net to asp site
- From: Dominick Baier [DevelopMentor] <dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 27 Jan 2006 16:54:45 +0000 (UTC)
Hi,
thinking about it...it sucks :)
to authenticate with IIS/basic you have to include a HTTP header which looks like this:
WWW-Authenticate: username:password
user/pass are encoded as a Base64 string
if you can handcraft this request on the client (by generating jscript code in the application) this *could* work
a) i am not sure if jscript has these abilities b) this would mean that clear text credentials are embedded in the HTML
so basically - no there is no "production" way of doing this.
--------------------------------------- Dominick Baier - DevelopMentor http://www.leastprivilege.com
Does not need to be integrated. Can be basic also.
When you say 'hacky way', would it be reliable enough for production? We plan to limit user-base to IE6 and will have only few hundred users max.
Could you pass on your solution pls?
Thanks, Chumma Dede
.
- Follow-Ups:
- Re: Passing credentials from asp.net to asp site
- From: Joseph George
- Re: Passing credentials from asp.net to asp site
- References:
- Re: Passing credentials from asp.net to asp site
- From: Joseph George
- Re: Passing credentials from asp.net to asp site
- Prev by Date: Re: Passing credentials from asp.net to asp site
- Next by Date: Re: Passing credentials from asp.net to asp site
- Previous by thread: Re: Passing credentials from asp.net to asp site
- Next by thread: Re: Passing credentials from asp.net to asp site
- Index(es):