Welcome Guest Search | Active Topics | Sign In | Register

WebBrowser: Allow running insecure content Options
item
Posted: Tuesday, December 29, 2015 2:29:12 PM
Rank: Newbie
Groups: Member

Joined: 12/29/2015
Posts: 1
Hi,

My page contains mixed conent ('Page' was loaded over HTTPS, but requested an insecure script '...'. This request has been blocked; the content must be served over HTTPS). How can I allow running insecure content in WebBrowser?
eo_support
Posted: Tuesday, December 29, 2015 5:18:36 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
Hi,

Please try to set this property to false and see if it helps:

http://www.essentialobjects.com/doc/eo.webengine.browseroptions.enablewebsecurity.aspx

See here for more information on how to set these options:

http://www.essentialobjects.com/doc/webbrowser/advanced/browser_options.aspx

Thanks!
Ziraat Teknoloji
Posted: Friday, January 19, 2018 7:38:03 AM
Rank: Newbie
Groups: Member

Joined: 10/26/2017
Posts: 6
Hi,

Our web applications are also loaded over HTTPS and we are making some requests with "HTTP" call. EnableSecurity property doesn't work.

Do you have any suggestion for that?

Thank you?
eo_support
Posted: Friday, January 19, 2018 3:36:48 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
Hi,

Please pass "--allow-running-insecure-content" command line option to the browser engine. You can find more information about engine options here:

https://www.essentialobjects.com/doc/webbrowser/advanced/engine.aspx

To test this feature with the TabbedBrowser sample application, you can add the following code inside App.xaml.cs/.vb inside Application_Startup method before you create MainWindow:

Code: C#
EO.WebEngine.Engine.Default.Options.ExtraCommandLineArgs = "--allow-running-insecure-content";


Please let us know if this works for you.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.