From aa27657255fc93dafff0be41c823a7b3bfbe0e39 Mon Sep 17 00:00:00 2001 From: anuko Date: Wed, 3 Jan 2018 17:16:36 +0000 Subject: [PATCH] Provided an example in .htaccess how to restrict access by IP. --- .htaccess | 15 +++++++++++++++ WEB-INF/templates/footer.tpl | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index c91ca1c3..7c4d0aff 100644 --- a/.htaccess +++ b/.htaccess @@ -1 +1,16 @@ AddDefaultCharset utf-8 + +# Restrict access to Time Tracker only from certain IPs. +# +# See https://www.anuko.com/time_tracker/faq/restrict_access_by_ip.htm +# For this to work make sure AllowOverride is set to All in web server config file. +# Uncomment 3 lines below and set your IP accordingly. +# +# Order Deny,Allow +# Deny from all +# Allow from 127.0.0.1 +# +# An example for an entire subnet 192.168.1.0 - 192.168.1.255 +# Order Deny,Allow +# Deny from all +# Allow from 192.168.1 diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index d6541b24..398e5e4e 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.13.6.3715 | Copyright © Anuko | +  Anuko Time Tracker 1.13.6.3716 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1