Skip to main content

2026 年 5 月 28 日

减少 MIME 类型安全风险

默认情况下,Horizon 8 在其 HTTP 响应中发送 x-content-type-options: nosniff 标头以帮助防范基于 MIME 类型混淆的攻击。

您可以在 locked.properties 文件中添加以下条目来停用该功能:

x-content-type-options=OFF

Was this page helpful?

Provide feedback for this topic

Was this topic helpful?

Please do not include any personal or confidential information.

Generating link…