RE: How to tell WebBrowser control what credentials to use?
- From: v-lliu@xxxxxxxxxxxxxxxxxxxx (Linda Liu [MSFT])
- Date: Fri, 15 Sep 2006 12:40:16 GMT
Hi Adar,
As far as I know, there're two kinds of authentication modes for web site.
One is form authentication which requires the user to input his username
and password in the web page. And the other is integration authentication
which uses the current windows user's username and password to log on the
web site.
Could you tell me what kind of the authentication mode of the web site
you'll navigate is?
As for the first authentication mode, we could pass the username and
password from windows application to the web page using the method I
mentioned in my previous reply. However, this probably requires script in
the web page to accept the username and password.
As for the second authentication mode, IE always uses the current user's
username and password to log on the web site and we could't change this
behavior. The WebBrowser control is a shell of IE, which means the control
does what IE does when accessing web sites.
If you do want to navigate the web site by the specified username and
password, you could run the windows application as the specified user. To
do this, right-click the windows application and choose Run as. Then input
the specified username and password in the Run As dialog.
Hope this helps.
If you have any concerns, please feel free to let me know.
Sincerely,
Linda Liu
Microsoft Online Community Support
.
- Follow-Ups:
- RE: How to tell WebBrowser control what credentials to use?
- From: Adar Wesley
- RE: How to tell WebBrowser control what credentials to use?
- References:
- RE: How to tell WebBrowser control what credentials to use?
- From: Linda Liu [MSFT]
- RE: How to tell WebBrowser control what credentials to use?
- From: Adar Wesley
- RE: How to tell WebBrowser control what credentials to use?
- From: Linda Liu [MSFT]
- RE: How to tell WebBrowser control what credentials to use?
- From: Adar Wesley
- RE: How to tell WebBrowser control what credentials to use?
- Prev by Date: outlook 2003 left panel in c#
- Next by Date: RE: How to tell WebBrowser control what credentials to use?
- Previous by thread: RE: How to tell WebBrowser control what credentials to use?
- Next by thread: RE: How to tell WebBrowser control what credentials to use?
- Index(es):
Relevant Pages
|