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

Issue 12378078: Initialize COM and configure security settings in the daemon. (Closed)

Created:
7 years, 9 months ago by alexeypa (please no reviews)
Modified:
7 years, 9 months ago
Reviewers:
jschuh, Wez, Cris Neckar
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Initialize COM and configure security settings in the daemon. This CL initializes a single-threaded apartment on the main thread in the daemon and configures COM security in the following way: - The daemon authenticates that all data received is from the expected client. - The daemon can impersonate clients to check their identity but cannot act on their behalf. - The caller's identity on every call (Dynamic cloaking). - Activations where the activated COM server would run under the daemon's identity are prohibited. BUG=137696 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186245

Patch Set 1 #

Total comments: 6

Patch Set 2 : CR feedback. #

Total comments: 12

Patch Set 3 : CR feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -5 lines) Patch
M remoting/host/desktop_session_win.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/installer/win/chromoting.wxs View 1 2 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/win/host_service.cc View 1 2 8 chunks +93 lines, -3 lines 0 comments Download
M remoting/host/win/security_descriptor.h View 1 2 chunks +10 lines, -0 lines 0 comments Download
M remoting/host/win/security_descriptor.cc View 1 1 chunk +57 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
alexeypa (please no reviews)
PTAL.
7 years, 9 months ago (2013-03-04 17:50:01 UTC) #1
alexeypa (please no reviews)
Adding Cris, because it is security related. Some background: The daemon (running under SYSTEM) will ...
7 years, 9 months ago (2013-03-04 19:18:46 UTC) #2
Cris Neckar
Adding jschuh@ as he has a much better understanding of COM.
7 years, 9 months ago (2013-03-04 19:56:49 UTC) #3
jschuh
Seems broadly okay, but with some points that would make the code a bit clearer. ...
7 years, 9 months ago (2013-03-04 21:12:33 UTC) #4
alexeypa (please no reviews)
https://codereview.chromium.org/12378078/diff/1/remoting/host/win/host_service.cc File remoting/host/win/host_service.cc (right): https://codereview.chromium.org/12378078/diff/1/remoting/host/win/host_service.cc#newcode72 remoting/host/win/host_service.cc:72: "O:SYG:SYD:(A;;0x3;;;SY)(A;;0x3;;;LS)S:(ML;;NX;;;ME)"; On 2013/03/04 21:12:33, Justin Schuh wrote: > SDDL ...
7 years, 9 months ago (2013-03-04 21:46:30 UTC) #5
jschuh
Thanks. That's much easier for me to read. lgtm on the security side.
7 years, 9 months ago (2013-03-04 21:54:15 UTC) #6
Wez
LGTM w/ nits: There are a couple of typos in the CL description. The CL ...
7 years, 9 months ago (2013-03-05 02:25:27 UTC) #7
alexeypa (please no reviews)
https://codereview.chromium.org/12378078/diff/9001/remoting/host/win/host_service.cc File remoting/host/win/host_service.cc (right): https://codereview.chromium.org/12378078/diff/9001/remoting/host/win/host_service.cc#newcode69 remoting/host/win/host_service.cc:69: // definition is SDDL form. On 2013/03/05 02:25:28, Wez ...
7 years, 9 months ago (2013-03-05 18:00:27 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/12378078/10001
7 years, 9 months ago (2013-03-05 18:01:53 UTC) #9
alexeypa (please no reviews)
7 years, 9 months ago (2013-03-05 20:33:01 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 manually as r186245 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698