HTTP Strict Transport Security (IIS 8)

A few days ago I was reading about HSTS (HTTP Strict Transport Security) and I was looking for an easier way to implement it on a IIS (Internet Information Service 8) host.

With just a few searchs on google, I got some answers…

Some seem easier, some seem wrong, doesn’t matter, I was testing everything to check what was right and good solution.

For one day I thought I got the right one, but I was very, very wrong, let me explain why…