none
WebBrowser Control - blocked content RRS feed

  • Question



  • I'm building a WPF application with the 3.5 SP1 WebBrowser control and navigating via:
    pack://siteoforigin:,,,/some-local-file.html

    The file contains HTML and JavaScript, things works fine except I get the following security prompt:

    "To help protect your security, your web browser has restricted this file from showing active content that could access your computer.
    Click here for options..."

    Is there an easy way to disable the prompt?

    (If I read the file in as a string and NavigateToString, I do not get the prompt, but then links to local images are broken.)

    Thank you,
    Simon



    Monday, February 9, 2009 5:47 PM

Answers

All replies