Forum Discussion
Beinhard_8950
Sep 02, 2010Nimbostratus
Strict Transport Security
Hi,
I have a question, dows anyone implemented Strict Transport Security (STS/HSTS).
I have seen many guides to implement this on servers and so on but if you use a ADC then it would be implemented there i quess.
So if someone have done this or have an idea, please give your thoughts about this.
Regards,
Adam
- JRahmAdminMost of the controls for STS seem to occur on the client end. Implementing looks to be a fairly simple iRule, inserting a header with appropriate options for your policy and limiting access to non-ssl resources on the client-side. The problem is going to be handling non-compliant browsers. I know Chrome supports it already and FF4 will have it, but what about IE and the others? That's a large chunk of site visitors, so you would need a mechanism (simple HTTP::respond with "Please use browser X, Y, Z" would work) to inform the users. It's always tricky to enforce adoption without losing users.
- Beinhard_8950NimbostratusHi, thanks for the answer.
- JRahmAdminNot saying you will lose users, just noting it's a consideration. I haven't heard anything on STS specific to F5. I'm going to write a tech tip on it that will be released later this month. Any other questions you have or implementation ideas? I'll try to work them in.
- L4L7_53191NimbostratusThis is really interesting, thanks for posting. The good news is that you can accomplish most all of this by simply forcing every request through an SSL enabled virtual server. You can force any non-https request to that VS address back over to the SSL enabled VS. Also, stream profiles can rewrite non-https references for you on the fly.
- HamishCirrocumulusMmm... The one advantage you still don't get is the possible leaking of information on the HTTP connection still... There's no way to work around that except to just drop connection attempts to port 80 (Which then goes full circle).
- JRahmAdminPosted By L4L7 on 09/12/2010 08:42 PM
- JRahmAdminForgot to post back that I actually did write the article: http://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/1084416/Implementing-HTTP-Strict-Transport-Security-in-iRules.aspx Click Here
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects