diff --git a/src/gui/optionsdialog.ui b/src/gui/optionsdialog.ui index 12eacded5..461093d91 100644 --- a/src/gui/optionsdialog.ui +++ b/src/gui/optionsdialog.ui @@ -3155,49 +3155,58 @@ Specify an IPv4 or IPv6 address. You can specify "0.0.0.0" for any IPv - - - Enable clickjacking protection - - - - - - - Enable Cross-Site Request Forgery (CSRF) protection - - - - - + - Enable Host header validation + Security - - true - - + - - - - - Server domains: - - - - - - - Whitelist for filtering HTTP Host header values. + + + Enable clickjacking protection + + + + + + + Enable Cross-Site Request Forgery (CSRF) protection + + + + + + + Enable Host header validation + + + true + + + + + + + + Server domains: + + + + + + + Whitelist for filtering HTTP Host header values. In order to defend against DNS rebinding attack, you should put in domain names used by WebUI server. Use ';' to split multiple entries. Can use wildcard '*'. - - - - + + + + + + + diff --git a/src/webui/www/private/preferences_content.html b/src/webui/www/private/preferences_content.html index 64eeef728..b9ff22c1b 100644 --- a/src/webui/www/private/preferences_content.html +++ b/src/webui/www/private/preferences_content.html @@ -411,7 +411,6 @@ QBT_TR(Web User Interface (Remote control))QBT_TR[CONTEXT=OptionsDialog]
-

@@ -449,18 +448,28 @@
-
- - -
-
- - -
-
- - -
+
+ QBT_TR(Security)QBT_TR[CONTEXT=OptionsDialog] +
+ + +
+
+ + +
+ +
+ + + + +
+ + +
+
+