Re: Pass username and password instead of userprompt

From: David Wang [Msft] (someone_at_online.microsoft.com)
Date: 02/08/04


Date: Sat, 7 Feb 2004 16:18:57 -0800

No, I do not have an example.

I do not think it is possible with VB; you'd need a custom web browser since
the web browser controls the TCP connection and what is sent over it.

This is why I say you should re-think your custom authentication scheme.

What you are doing is analogous to printing out the username/password on the
web page and asking the browser to enter it in the following login dialog
box -- except you're automatically entering it. This isn't authentication
unless you're using some other scheme to map username/password to this
public username/password, but in that case, you can do the same thing by
using cookies and changing the Anonymous User credentials in IIS

-- 
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Magnus Jardeby" <magnus@ciceronen.com> wrote in message
news:OIYZskJ7DHA.2404@TK2MSFTNGP12.phx.gbl...
Thanks for your answer!
Do you have an example of sending the information as the "Authentication"
request header in VB?
/Magnus
"David Wang [Msft]" <someone@online.microsoft.com> wrote in message
news:ugsR6VJ7DHA.1852@TK2MSFTNGP10.phx.gbl...
> Not that I'm aware of.
>
> If you can induce the client to send a base64 encoding of
username:password
> as the "Authentication:" request header, it would accomplish the exact
same
> thing as what 832894 disallowed.
>
> You should probably rethink your custom authentication scheme.
>
> -- 
> //David
> IIS
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> //
> "Magnus Jardeby" <magnus@ciceronen.com> wrote in message
> news:euNxMB%236DHA.2432@TK2MSFTNGP10.phx.gbl...
> I have a problem with basic authentication.
> I redirect a user from a page to another.
> I don't want to get the NT prompt login, I want the user to be logged in
> automatically.
> I want to send the username/password to the page.
>
> I have read something about cookies and sending username/password through
> the header.
>
> With the new Windows Update 832894 it is no longer possible to use
> http(s)://username:password@server/resource.ext
>
> Is there any other way to redirect to another page and pass the username
and
> password?
>
> Thanks in advance!
>
> /Magnus
>
>
>


Relevant Pages

  • RE: prompted for username, password on iis5 running xp pro
    ... >Server will negociated an authentication method. ... >an valid username/password, the username/password box ... >the web server will send the content to the client. ... >the Web Server in Windows 2000 Server and Windows XP Pro ...
    (microsoft.public.inetserver.iis.security)
  • Re: Default credentials
    ... > comes up on my client site requires NTLM or Basic authentication? ... > a web browser - I assume it must be something they have set up ... If your receive a Dialog asking for your creds with NTLM auth ... credentials of the current security context. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Default credentials
    ... > comes up on my client site requires NTLM or Basic authentication? ... > a web browser - I assume it must be something they have set up ... If your receive a Dialog asking for your creds with NTLM auth ... credentials of the current security context. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Default credentials
    ... > comes up on my client site requires NTLM or Basic authentication? ... > a web browser - I assume it must be something they have set up ... If your receive a Dialog asking for your creds with NTLM auth ... credentials of the current security context. ...
    (microsoft.public.dotnet.security)
  • Re: Default credentials
    ... comes up on my client site requires NTLM or Basic authentication? ... > If you need to pass certain credentials to your proxy WS class, ... >> Internet from a client machine. ... >> to browse the Internet using a web browser, ...
    (microsoft.public.dotnet.framework.webservices)

Quantcast