I get this message when I am trying to access a web service from Jquery located in SAME the URL (but different directory).
当我尝试从位于SAME中的Jquery访问Web服务时,我收到此消息URL(但不同的目录)。
I know it is IE security setting. The question is, how do I suppress it...surely, people don't put web services in the same web site, same directory....
我知道这是IE安全设置。问题是,我如何压制它...当然,人们不会将Web服务放在同一个网站,同一个目录....
5 个解决方案
#1
3
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.
如果这对运行Visual Studio 2013的人有帮助。我已将Visual Studio从2010升级到2013,然后开始查看seurity警告。
Using Fiddler I found that VS 2013 kept sending arterySignalR requests.
使用Fiddler我发现VS 2013一直在发送arterySignalR请求。
I turned this off by setting the following in the web.config under appSettings
我通过在appSettings下的web.config中设置以下内容来关闭它
<add key="vs:EnableBrowserLink" value="false" />
which caused the security warning to go away.
这导致安全警告消失。
#2
3
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调用中,我必须指定jsonp作为我的数据类型来解决问题。
$.ajax({
url: "xxx",
dataType: "jsonp",
...
});
#3
1
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…
这是一个重要的安全风险,永远不应该设置为启用 - 在线攻击有大量依赖于设置为启用的攻击;在提示下离开它会降低攻击媒介的可用性......
#4
1
I faced this problem in my HTA (on win 7), and got it fixed by un checking the options below:
我在我的HTA中遇到了这个问题(在win 7上),并通过取消检查以下选项来修复它:
IE (8) -> Tools -> Internet Options -> Advanced
IE(8) - >工具 - > Internet选项 - >高级
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..
这样做之后,我的HTA没有再用弹出窗口问我了..
#5
1
Faced this today and resolved it by changing IE setting and updated the release notes for my application(in case someone needs that)
今天面对这个并通过更改IE设置并更新我的应用程序的发行说明(如果有人需要)来解决它
Goto Internet Option -> Security -> Internet -> Custom Level -> Miscellaneous(navigate to this section) -> Access Data sources across domains -> Set this to Enable
转到Internet选项 - >安全 - > Internet - >自定义级别 - >其他(导航到本节) - >跨域访问数据源 - >将此设置为启用
#1
3
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.
如果这对运行Visual Studio 2013的人有帮助。我已将Visual Studio从2010升级到2013,然后开始查看seurity警告。
Using Fiddler I found that VS 2013 kept sending arterySignalR requests.
使用Fiddler我发现VS 2013一直在发送arterySignalR请求。
I turned this off by setting the following in the web.config under appSettings
我通过在appSettings下的web.config中设置以下内容来关闭它
<add key="vs:EnableBrowserLink" value="false" />
which caused the security warning to go away.
这导致安全警告消失。
#2
3
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调用中,我必须指定jsonp作为我的数据类型来解决问题。
$.ajax({
url: "xxx",
dataType: "jsonp",
...
});
#3
1
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…
这是一个重要的安全风险,永远不应该设置为启用 - 在线攻击有大量依赖于设置为启用的攻击;在提示下离开它会降低攻击媒介的可用性......
#4
1
I faced this problem in my HTA (on win 7), and got it fixed by un checking the options below:
我在我的HTA中遇到了这个问题(在win 7上),并通过取消检查以下选项来修复它:
IE (8) -> Tools -> Internet Options -> Advanced
IE(8) - >工具 - > Internet选项 - >高级
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..
这样做之后,我的HTA没有再用弹出窗口问我了..
#5
1
Faced this today and resolved it by changing IE setting and updated the release notes for my application(in case someone needs that)
今天面对这个并通过更改IE设置并更新我的应用程序的发行说明(如果有人需要)来解决它
Goto Internet Option -> Security -> Internet -> Custom Level -> Miscellaneous(navigate to this section) -> Access Data sources across domains -> Set this to Enable
转到Internet选项 - >安全 - > Internet - >自定义级别 - >其他(导航到本节) - >跨域访问数据源 - >将此设置为启用