Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions patches/disable-remote-access-by-default.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/remoting/host/policy_watcher.cc b/remoting/host/policy_watcher.cc
index 694f832b5f047..078e63cef135d 100644
index 694f832b5f047..ab220a2f5cb74 100644
--- a/remoting/host/policy_watcher.cc
+++ b/remoting/host/policy_watcher.cc
@@ -166,7 +166,7 @@ base::Value::Dict PolicyWatcher::GetPlatformPolicies() {
@@ -166,13 +166,13 @@ base::Value::Dict PolicyWatcher::GetPlatformPolicies() {

base::Value::Dict PolicyWatcher::GetDefaultPolicies() {
base::Value::Dict result;
Expand All @@ -11,6 +11,13 @@ index 694f832b5f047..078e63cef135d 100644
result.Set(key::kRemoteAccessHostClientDomainList, base::Value::List());
result.Set(key::kRemoteAccessHostDomainList, base::Value::List());
result.Set(key::kRemoteAccessHostAllowRelayedConnection, true);
result.Set(key::kRemoteAccessHostUdpPortRange, "");
result.Set(key::kRemoteAccessHostClipboardSizeBytes, -1);
- result.Set(key::kRemoteAccessHostAllowRemoteSupportConnections, true);
+ result.Set(key::kRemoteAccessHostAllowRemoteSupportConnections, false);
#if BUILDFLAG(IS_CHROMEOS)
result.Set(key::kRemoteAccessHostAllowEnterpriseRemoteSupportConnections,
true);
@@ -188,7 +188,7 @@ base::Value::Dict PolicyWatcher::GetDefaultPolicies() {
result.Set(key::kRemoteAccessHostAllowFileTransfer, true);
result.Set(key::kRemoteAccessHostAllowUrlForwarding, true);
Expand Down