RE: How to tell WebBrowser control what credentials to use?



Hi all,

Sorry Linda, you missed me completely.

Lets say I have the user name and password for a remote site stored locally
and I want the login to happen without end user intervention. How do I
tell the WebBrowser control the credentials to use against a remote site?

To Linda: I am not worried about local security because I will only be working
against well known (and safe) intranet web applications.

Thanks,
---
Adar Wesley



"Linda Liu [MSFT]" wrote:

Hi Adar,

How do I tell the WebBrowser control programatically what credentials and
what authentication mode to use when accessing a web site?

Do you mean the WebBrowser security?

The WebBrowser control is designed to work in full trust only. The HTML
content displayed in the control can come from external Web Servers and may
contain unmanaged code in the form of scripts or Web controls. If you use
the WebBrowser control in this situation, the control is no less secure
than Internet Explorer would be, but the managed WebBrowser contro does not
prevent such unmanged code from runing.

Hope this helps.


Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.


.



Relevant Pages

  • RE: Problems with Flash in WebBrowser
    ... This is a known issue of the .NET 2.0 WebBrowser control code. ... Private Function FindContainerControl() As ContainerControl ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • RE: Problems with Flash in WebBrowser
    ... WebBrowser control have a property named DocumentText so we can get the ... there is no direct support in WebBrowser control. ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.languages.vb)
  • RE: How to tell WebBrowser control what credentials to use?
    ... The WebBrowser control is designed to work in full trust only. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ... project analysis and dump analysis issues. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • How to disable drag & drop in CWebBrowser2 ?
    ... I have followed the tutorial "Using MFC to Host a WebBrowser Control" ... I'd like to disable drag & drop support. ... document/text document etc. can be dragged into the Window - which is ... "If you don't want drag-and-drop support in your application, ...
    (microsoft.public.vc.mfc)

Loading