Skip to main content

2025 年 6 月 20 日

HTTP Strict Transport Security

The HTTP Strict Transport Security (HSTS) feature is a security policy mechanism that helps to protect against man-in-the-middle attacks by telling web browsers that they should use only HTTPS to connect.

The header is added to all HTTP responses on port 443, specifying a lifetime of one year. Optional properties can be set by adding multi-value property hstsFlags to the locked.properties file. The following values can be set.

PropertyValue
includeSubDomainsApplies to all subdomains of this site.
preloadHint to include this site in HSTS preload lists.

Example:

hstsFlags.1=includeSubDomains
hstsFlags.2=preload

Note: These properties are not set by default because they can affect URLs outside of Horizon 8 too. Do not set unless you understand the implications.

此頁面對您有幫助嗎?

針對本主題提供意見回饋

本主題對您有幫助嗎?

請勿填寫任何個人或機密資訊。

正在產生連結…