21 Haziran 2021 Pazartesi

HTTP Strict Transport Security - HSTS - Mecburi HTTPS Kullanımı İçindir

Giriş
Mecburi HTTPS kullanımı içindir. Açıklaması şöyle. Http 3xx Redirection kodları yerine kullanılabilir.
HTTP Strict Transport Security (also named HSTS) is an opt-in security enhancement that is specified by a web application through the use of a special response header. Once a supported browser receives this header that browser will prevent any communications from being sent over HTTP to the specified domain and will instead send all communications over HTTPS. It also prevents HTTPS click through prompts on browsers.
Açıklaması şöyle
It allows web servers to declare that web browsers (or other complying user agents) should automatically interact with it using only HTTPS connections
Period Of Time
Açıklaması şöyle
HSTS Policy specifies a period of time during which the user agent should only access the server in a secure fashion.
Örnek
Cevapta şunu görürüz
Request: https://www.google.com/?gws_rd=ssl;
Response: Status Code: 200
          strict-transport-security: max-age=31536000
Örnek
Cevapta şunu görürüz.
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload 
preload için açıklama şöyle
If the site owner would like their domain to be included in the HSTS preload list maintained by Chrome (and used by Firefox and Safari), then use the header preload

Hiç yorum yok:

Yorum Gönder