Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) added message if unrestricted access from localhost is possible *) added link to admin access config page

low01204d91c67d6f8
diff --git a/htroot/Status.html b/htroot/Status.html
index 4257b3c50..dcf17a3e2 100644
--- a/htroot/Status.html
+++ b/htroot/Status.html
@@ -60,7 +60,7 @@
</dd>
#(/urgentSetPassword)#
- #(urgentStatusVirgin)#::
+ #(urgentStatusVirgin)#::
<dt class="hintIcon"><img src="env/grafics/bad.png" width="32" height="32" alt="bad"/></dt>
<dd class="hint">You have not published your peer seed yet. This happens automatically, just wait.
</dd>
diff --git a/htroot/Status.java b/htroot/Status.java
index 9d6a2dac3..b7d96b7fa 100644
--- a/htroot/Status.java
+++ b/htroot/Status.java
@@ -128,7 +128,11 @@ public class Status {
} else {
prop.put("protection", "1"); // protected
}
-
+
+ if (sb.getConfigBool("adminAccountForLocalhost", false)) {
+ prop.put("unrestrictedLocalAccess", 1);
+ }
+
// free disk space
if ((adminaccess) && (!sb.observer.getDisksOK()))
{
diff --git a/htroot/Status_p.inc b/htroot/Status_p.inc
index 780601fef..34fe8c31a 100644
--- a/htroot/Status_p.inc
+++ b/htroot/Status_p.inc
@@ -17,10 +17,17 @@
<dt>Protection</dt>
<dd>#(protection)#
- <strong>Password is missing</strong>
+ <strong>Password is missing.</strong>
::
password-protected
- #(/protection)#</dd>
+ #(/protection)#
+
+ #(unrestrictedLocalAccess)#
+ ::
+ <br />Unrestricted access from localhost.
+ #(/unrestrictedLocalAccess)#
+ <a href="ConfigAccounts_p.html">[Configure]</a>
+ </dd>
<dt>Address</dt>
<dd>Host: #[host]#:#[port]# #(extPortFormat)#::| (Binding to interface: #[extPort]#)#(/extPortFormat)# #(sslSupport)#::| SSL: enabled#(/sslSupport)#<br />
@@ -102,7 +109,7 @@
<dd>
#(seedServer)#
Disabled.
- <a href="Settings_p.html?page=seed">[Configure]</a>.
+ <a href="Settings_p.html?page=seed">[Configure]</a>
::
Enabled: Updating to server #[seedServer]#.
Last upload: #[lastUpload]# ago.