IIS7 - 从 swf(闪存)读取外部 xml 文件时出现 401 未经授权的错误

发布于 2024-09-18 04:12:51 字数 308 浏览 3 评论 0原文

当我尝试从 IIS7 中的 Flash SWF 文件读取 XML 文件时,收到 401 未经授权的错误。该文件位于文件系统中 SWF 文件的旁边。

当我通过浏览器浏览 XML 文件时,我得到以下信息:

HTTP 错误 401.3 - 您未经授权 无权查看此内容 目录或页面,因为 访问控制列表(ACL) 配置或加密设置 Web 服务器上的此资​​源。

我已授予 IIS_IUSRS 对该文件夹的完全权限,但仍然出现相同的错误。这是 IIS7 特有的吗?

谢谢。

I am getting a 401 unauthorized error when I try to read an XML file from a flash SWF file in IIS7. The file is located right next to the SWF file in the file system.

When I browse to the XML file through the browser, I get the following:

HTTP Error 401.3 - Unauthorized You do
not have permission to view this
directory or page because of the
access control list (ACL)
configuration or encryption settings
for this resource on the Web server.

I have given IIS_IUSRS full permission to that folder but still getting the same error. Is this something IIS7 specific?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

这样的小城市 2024-09-25 04:12:51

我终于解决了这个问题,由于某种原因,有问题的 xml 文件启用了“加密内容以保护数据”。一旦我禁用该选项,它就开始正常工作。

要禁用“加密内容以保护数据”,请右键单击该文件 ->在常规/属性下,单击“高级”->在“压缩或加密属性”下,取消选择该选项(如果已选择)。

希望有人会觉得这有帮助。

谢谢。

I finally figured out the issue, for some reason the xml file in question had "encrypt contents to secure data" enabled. Once I disabled the option, it started working fine.

To disable "encrypt contents to secure data", right click the file -> under general/attributes, click "advanced" -> under "compress or encrypt attributes", deselect the option if it is already selected.

Hopefully somebody will find this helpful.

Thanks.

滥情空心 2024-09-25 04:12:51

您能否检查 IIS_IUSRS 是否确实有权访问 XML 文件(而不仅仅是文件所在的文件夹)?

Can you check that IIS_IUSRS really has access to the XML file (not just the folder that the file is in)?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文