changeset 13:3b69622879c9

do not allow access to the generated captcha DB via the web server
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 06 Aug 2013 04:06:35 +0200
parents 7bfdc2b1d768
children 420879d8e09e
files Makefile content/.htaccess
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Tue Aug 06 04:06:16 2013 +0200
+++ b/Makefile	Tue Aug 06 04:06:35 2013 +0200
@@ -62,6 +62,7 @@
 
 publish:
 	$(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(PUBLISHCONF) $(PELICANOPTS)
+	cp $(INPUTDIR)/.htaccess $(OUTPUTDIR)
 
 ssh_upload: publish
 	scp -P $(SSH_PORT) -r $(OUTPUTDIR)/* $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/content/.htaccess	Tue Aug 06 04:06:35 2013 +0200
@@ -0,0 +1,4 @@
+<Files captchas>
+    Order allow,deny
+    Deny from all
+</Files>