启用IE增强安全配置时,msSaveBlob,msSaveOrOpenBlob失败 [英] msSaveBlob, msSaveOrOpenBlob fail when IE Enhanced Security Configuration is on
问题描述
当尝试使用msSaveBlob和msSaveOrOpenBlob通过javascript在IE 11中下载文件时,我收到一条错误消息,指出无法下载该文件。我曾尝试将该网站添加到受信任的网站,但这不能解决问题。
关闭服务器管理器中的IE增强安全配置似乎确实解决了问题并成功下载文件。
When trying to get a file to download in IE 11 through javascript using msSaveBlob and msSaveOrOpenBlob I get an error message stating that the file couldn't be downloaded. Ive tried adding the site to Trusted sites but this does not fix the problem. Turning off IE Enhanced Security Configuration in Server Manager however does seem to fix the issue and files download successfully.
有没有办法使用msSaveBlob下载文件或msSaveOrOpenBlob同时保持IE增强安全配置?
Is there any way to download files using msSaveBlob or msSaveOrOpenBlob while keeping IE Enhanced Security Configuration on?
IE版本:11
操作系统:Windows 2012 R2,Windows 2016
OS: Windows 2012 R2, Windows 2016
推荐答案
您好jayjay2018,
Hi jayjay2018,
根据您的描述,我建议您先来检查可信网站的安全设置。
According to your description, I suggest you could firstly check the Trusted sites' security setting.
我建议您按照以下步骤检查设置。
I suggest you could follow below steps to check the setting.
1.打开网上意见
2。找到安全可信站点。
2.Locate the security Trusted sites.
3.降低安全级别或使用自定义级别启用javascript a nd download。
3.Turn down the security level or use the custom level to enable javascript and download.
最诚挚的问候,
Brando
这篇关于启用IE增强安全配置时,msSaveBlob,msSaveOrOpenBlob失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!