aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--local/.htaccess12
1 files changed, 11 insertions, 1 deletions
diff --git a/local/.htaccess b/local/.htaccess
index cb24fd7f..96479ba9 100644
--- a/local/.htaccess
+++ b/local/.htaccess
@@ -1,2 +1,12 @@
-Order allow,deny
+# This file is local/.htaccess -- the default distribution contains this
+# file to prevent local/ scripts from being accessed directly by browsers
+# (this is a potential, albeit very unlikely, security hole).
+#
+# If you alter or replace this file, it will likely be overwritten when
+# you upgrade from one version of PmWiki to another. Be sure to save
+# a copy of your alterations in another location so you can restore them,
+# and you might try changing this file to be read-only to prevent a PmWiki
+# upgrade from overwriting your altered version.
+
+Order Deny,Allow
Deny from all