Enable HTTP Strict Transport Security (HSTS) in Azure WebRoles

前端 未结 2 1415
日久生厌
日久生厌 2021-02-01 09:22

How can I turn on HTTP Strict Transport Security (HSTS) for Azure WebRoles?

2条回答
  •  死守一世寂寞
    2021-02-01 09:30

    There is an IIS module which enables HSTS compliant with the HSTS Draft Specification (RFC 6797); you can found it here https://hstsiis.codeplex.com/

    DON'T TRY THIS:

    
        
            
                
            
        
    
    

    because this will include the STS header in HTTP responses over non-secure transport.

提交回复
热议问题