Provided an example in .htaccess how to restrict access by IP.
[timetracker.git] / .htaccess
index c91ca1c..7c4d0af 100644 (file)
--- 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