HowTo: Strict-Transport-Security query

Ask for help about NoScript, no registration needed to post
Dukeswharf
Posts: 13
Joined: Mon Nov 08, 2010 5:24 pm

HowTo: Strict-Transport-Security query

Post by Dukeswharf »

Am I correct in assuming that the following code can be written in 'https-> force the following...'

secure.informaction.com Strict-Transport-Security: max-age=31536000; includeSubdomains;
paypal.com Strict-Transport-Security: max-age=31536000; includeSubdomains

to ensure STS for both specified sites?
Mozilla/5.0 (Windows NT 5.1; rv:2.0b8) Gecko/20100101 Firefox/4.0b8
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: HowTo: Strict-Transport-Security query

Post by Giorgio Maone »

For sites which do implement STS, like the two you're mentioning, HTTPS enforcement is transparent and automatic. You don't need to do anything.
For other sites you can force HTTPS by just adding their domains in the box.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Dukeswharf
Posts: 13
Joined: Mon Nov 08, 2010 5:24 pm

Re: HowTo: Strict-Transport-Security query

Post by Dukeswharf »

Just to be clear,

are you saying that:

1. NoScript automatically handles sites which support STS?
2. The code I exampled is redundant, or is there an instance where:

domain.com Strict-Transport-Security: max-age=31536000; includeSubdomains;

would be used?
Mozilla/5.0 (Windows NT 5.1; rv:2.0b8) Gecko/20100101 Firefox/4.0b8
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: HowTo: Strict-Transport-Security query

Post by Giorgio Maone »

Dukeswharf wrote:are you saying that:

1. NoScript automatically handles sites which support STS?
2. The code I exampled is redundant
Yes to both.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Dukeswharf
Posts: 13
Joined: Mon Nov 08, 2010 5:24 pm

Re: HowTo: Strict-Transport-Security query

Post by Dukeswharf »

Excellent!

So I can dispose of both HTTPS-Everywhere and Force-STS/STS UI (FireFox 4.0b8) by simply specifying domains in 'https-> force the following...'?
Mozilla/5.0 (Windows NT 5.1; rv:2.0b8) Gecko/20100101 Firefox/4.0b8
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: HowTo: Strict-Transport-Security query

Post by Giorgio Maone »

Dukeswharf wrote:Excellent!

So I can dispose of both HTTPS-Everywhere and Force-STS/STS UI (FireFox 4.0b8) by simply specifying domains in 'https-> force the following...'?
Yep.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Post Reply