Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Issue 14421: Command line switch for the ultra security concious: --force-https!... (Closed)

Created:
12 years ago by abarth-chromium
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Command line switch for the ultra security concious: --force-https! If you set this switch, the browser refuses to talk HTTP and refuses to permit certificate errors. For best results, use with a dedicated profile. R=jar Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=6979

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -1 line) Patch
M base/base_switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M base/base_switches.cc View 1 chunk +3 lines, -0 lines 1 comment Download
M net/url_request/url_request_http_job.cc View 3 chunks +11 lines, -1 line 2 comments Download

Messages

Total messages: 4 (0 generated)
abarth-chromium
12 years ago (2008-12-15 08:13:51 UTC) #1
jar (doing other things)
I'd be curious to play with this either way, so I'll give you an LGTM. ...
12 years ago (2008-12-15 08:34:17 UTC) #2
abarth-chromium
I made the change you suggest, but FTP URLs are not blocked. To block those, ...
12 years ago (2008-12-15 09:17:37 UTC) #3
wtc
12 years ago (2008-12-15 18:14:15 UTC) #4
LGTM.

http://codereview.chromium.org/14421/diff/1/4
File base/base_switches.cc (right):

http://codereview.chromium.org/14421/diff/1/4#newcode33
Line 33: // Refuse to make HTTP connections and refuse to accept certificate
errors.
Should you reference your ForceHTTPS paper to provide a
background for this switch?

http://codereview.chromium.org/14421/diff/1/2
File net/url_request/url_request_http_job.cc (right):

http://codereview.chromium.org/14421/diff/1/2#newcode45
Line 45: CommandLine().HasSwitch(switches::kForceHTTPS);
Nit: this line seems to be over-indented.

Powered by Google App Engine
This is Rietveld 408576698