How to suppress “This page is accessing information not under its control”

后端 未结 5 1099
挽巷
挽巷 2020-12-06 09:27

I get this message when I am trying to access a web service from Jquery located in SAME the URL (but different directory).

I know it is IE security setting. The que

相关标签:
5条回答
  • 2020-12-06 09:52

    That is a significant security risk that should never be set to enable – there is a large class of attacks online that rely on that being set to Enable; leaving it at prompt reduces the availability of that attack vector…

    0 讨论(0)
  • 2020-12-06 09:53

    Faced this today and resolved it by changing IE setting and updated the release notes for my application(in case someone needs that)

    Goto Internet Option -> Security -> Internet -> Custom Level -> Miscellaneous(navigate to this section) -> Access Data sources across domains -> Set this to Enable

    0 讨论(0)
  • 2020-12-06 09:57

    I know this is caused because of 'Cross-domain data access' which I have enabled by

    jQuery.support.cors = true;
    

    In my Ajax call I had to specify jsonp as my data type to fix the issue.

    $.ajax({                    
               url: "xxx",                    
               dataType: "jsonp",
               ...
           });
    
    0 讨论(0)
  • 2020-12-06 09:59

    I faced this problem in my HTA (on win 7), and got it fixed by un checking the options below:

    IE (8) -> Tools -> Internet Options -> Advanced

    Under the title Security:

    Warn about certificate address mismatch
    Warn if changing between secure and not secure mode
    

    After doing this, my HTA didn't ask me again with the popup..

    0 讨论(0)
  • 2020-12-06 10:02

    In case this is helpful for someone running Visual Studio 2013. I had upgraded my Visual Studio from 2010 to 2013 and then started seeing the seurity warning.

    Using Fiddler I found that VS 2013 kept sending arterySignalR requests.

    I turned this off by setting the following in the web.config under appSettings

    <add key="vs:EnableBrowserLink" value="false" />
    

    which caused the security warning to go away.

    0 讨论(0)
提交回复
热议问题