Using a WebBrowser Control in a ClickOnce Application

I'm developing a solution for a client using the ClickOnce technology.  This client has a fair amount of legacy functionality in ASP.NET 1.1.  During the transition period, my thought was to build a ClickOnce application that featured new functionality in the ClickOnce WinForms application.  To support the legacy ASP.NET functionality within the one application, my thought was to embed a WebBrowser control within the application that would route the user to the existing ASP.NET web site.  However, when I do this, the ClickOnce Security Settings require full trust.

My question is two-fold.  One: Is there another/better way I could achieve a similar result   Two: If we're stuck with the full trust ClickOnce Security Setting, what is the real danger

I greatly appreciate any feedback you can provide.

Thanks

Jeff



Answer this question

Using a WebBrowser Control in a ClickOnce Application

  • hunny

    If you grant the application FullTrust that means it has the same level of access to the machine that any native application does.  For instance, it can call native code, run unverifiable code, etc.

    If you've written the application yourself, and know that it's trustworthy, then you might consider this an accceptable approach.  However, if you're running a third party application from an Internet site, you almost certainly don't want to grant them FullTrust Wink

    -Shawn



  • Using a WebBrowser Control in a ClickOnce Application