summaryrefslogtreecommitdiff
path: root/sd/uiconfig
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2023-11-21 15:22:23 +0100
committerMichael Stahl <michael.stahl@allotropia.de>2023-11-24 10:23:09 +0100
commitaee059ffabf46b57c7eeea337d0ba5e337737a55 (patch)
tree29d779063e5ecbfcb7f8dba7419ae26755a75c90 /sd/uiconfig
parent7d7d84c07b1ed01a5cd51b43c5712eab19d3f729 (diff)
officecfg,sd: add Office::Security::Net::AllowInsecureImpressRemoteWiFi
The IPRemoteServer listens on all interfaces and accepts connections with a "PIN", which is transmitted in the clear (without encryption), so it is not as secure as a naive user might assume and should probably not be used in public/untrusted networks. Make it possible to use the Impress remote with Bluetooth only, which appears to be more secure, by adding a new setting which defaults to disabled. The DiscoveryService which does mDNS/ZeroConf/Bonjour/Renezvous/whatever -it's-called-today should not be needed for Bluetooth. Adapt the RemoteServer code to the new situation that there can be a BluetoothServer but not a IPRemoteServer. Also add a checkbox to the "Slide Show Settings" dialog. Change-Id: I0cd3f23b616e23351f166bc9681b45786df8a26a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159786 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'sd/uiconfig')
-rw-r--r--sd/uiconfig/simpress/ui/presentationdialog.ui17
1 files changed, 16 insertions, 1 deletions
diff --git a/sd/uiconfig/simpress/ui/presentationdialog.ui b/sd/uiconfig/simpress/ui/presentationdialog.ui
index 9829dc38a43f..9a474200f366 100644
--- a/sd/uiconfig/simpress/ui/presentationdialog.ui
+++ b/sd/uiconfig/simpress/ui/presentationdialog.ui
@@ -777,7 +777,7 @@
<property name="label-xalign">0</property>
<property name="shadow-type">none</property>
<child>
- <!-- n-columns=2 n-rows=1 -->
+ <!-- n-columns=2 n-rows=2 -->
<object class="GtkGrid" id="grid10">
<property name="visible">True</property>
<property name="can-focus">False</property>
@@ -816,6 +816,21 @@
<property name="top-attach">0</property>
</packing>
</child>
+ <child>
+ <object class="GtkCheckButton" id="enableremoteinsecure">
+ <property name="label" translatable="yes" context="presentationdialog|enableremoteinsecure">Enable insecure WiFi connections</property>
+ <property name="visible">True</property>
+ <property name="can-focus">True</property>
+ <property name="receives-default">False</property>
+ <property name="tooltip-text" translatable="yes" context="presentationdialog|enableremoteinsecure|tooltip_text">In addition to Bluetooth connections, enable insecure and unencrypted connections via IP on all network interfaces. Not recommended in public settings.</property>
+ <property name="use-underline">True</property>
+ <property name="draw-indicator">True</property>
+ </object>
+ <packing>
+ <property name="left-attach">0</property>
+ <property name="top-attach">1</property>
+ </packing>
+ </child>
</object>
</child>
<child type="label">