locked
Adding Trusted sites RRS feed

  • Question

  • Hi,

       I had raised this question in Microsoft communities

    http://answers.microsoft.com/en-us/ie/forum/ie11-windows_7/trusted-sites-settings/638743fd-a57f-4595-92aa-e26e172b95bd

    and they have asked me to repost the question at this forum.  Hence reposting my question below

    We develop applications that are installed on a windows 7 system. Our application has a webpage hosted in IIS. 

    As an example lets say the system on which we have installed our application has hostname A and IP "29.1.1.5".  System A has IIS installed.  SSL option is enabled.  As part of our application we host a home page on this system A(Example https://29.1.1.5/home.htm)

    Now in the home page of system A I have displayed URLs which correspond to pages from another system(Example href->http://29.1.1.7/home.htm).  Let us name this second system with host name and IP "29.1.1.7". System B on which its home page is hosted does not have SSL enabled. 

    When I click on the system B's URL in system A home page it displays a warning "Only secure content is displayed" which is in accordance since we are navigating away from the secure site(System A's home page).

    So now the requirement for us is to add the system B's home page as a trusted site as part of internet settings on system A and to enable the mixed mode.  I am already aware of the manual setting in the Internet control panel by which I can achive this.  However this setting I want to be able to bring in during my application installation via scripts so that the user does not have to make any manual settings post my application installation.  After installation is complete when I navigate to system B home page I should be able to navigate without any warnings.

    Please let me know if this is possible and how.

    Thanks and Regards,

    Tressy

    Thursday, January 7, 2016 1:24 PM

Answers

  • Hi,

    Installation options of a website on a domain network has limited options.... IE security zone lists are maintained by GPO or manually entered in in Internet Options.

    File>Properties menu to determine which IE security zone a web page maps to. web sites hosted on a domain network MAY be automatically mapped to the Intranet zone.

    Tools>Internet Options>Advanced tab, check "Always record developer console messages"..

    retest your scenario....when page B loads and the mixed content warning shows, f12>console tab.... the web resources which are causing the mixed content warnings are listed in the devtools console... click on them in the console to display the source code line where they are occurring....

    or

    click on the error number to go online and view the MSDN documentation about the error and how to resolve it.

    I would guess that you are using images from system eg. https://A/images/logo.png

    either

    change the protocol in B's links to http eg. http://A/images/logo.png

    or

    uncheck Internet Options>Advanced tab, "Block unsecured images with other mixed content"...

    Basically you want to remove the dependencies for resources between the two domains, so you could equally copy the resources that A uses to your B website and change the links in B to access the resources from its domain.

    Regards.


    Rob^_^

    Friday, January 8, 2016 12:32 AM