Adding Trusted sites RRS feed

  • Question

  • Hi,

       I had raised this question in Microsoft communities


    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 "".  System A has IIS installed.  SSL option is enabled.  As part of our application we host a home page on this system A(Example

    Now in the home page of system A I have displayed URLs which correspond to pages from another system(Example href->  Let us name this second system with host name and IP "". 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,


    Thursday, January 7, 2016 1:24 PM


  • 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....


    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


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


    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.



    Friday, January 8, 2016 12:32 AM