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.
The drawback of "includeSubdomains", of course, is that you will have to deploy all subdomains over SSL.