Re:SSL Labs: Stricter security requirements for 2014
by aroch on Tuesday January 21, 2014 @06:08PM
(#7099279)
Woo, I get an A+. Do you have any comments on using 'includeSubDomains' with HTST? I've had some people tell me not to use it and other to use it. Are there any major security implications?
[ Parent
| on HN ]
Re:SSL Labs: Stricter security requirements for 2014
by ivanr on Tuesday January 21, 2014 @06:25PM
(#7099418)
Ideally, you should always use "includeSubdomains" with HSTS. This will provide robust security for the main hostname as well as all subdomains. The issue here is that (without "includeSubdomains") a man in the middle attacker can create arbitrary subdomains and use them inject cookies into your application. In some cases, even leakage might occur.
The drawback of "includeSubdomains", of course, is that you will have to deploy all subdomains over SSL.