From a756a9525d25622ef5ef8cc909a5605a08b7a205 Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 10 Feb 2015 16:14:23 +0100 Subject: * security hardening --- http/pic/.htaccess | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'http/pic') diff --git a/http/pic/.htaccess b/http/pic/.htaccess index 65ceb47..a92c220 100644 --- a/http/pic/.htaccess +++ b/http/pic/.htaccess @@ -6,4 +6,16 @@ RewriteEngine On RewriteCond %{SCRIPT_FILENAME} !-f RewriteCond %{SCRIPT_FILENAME} !-d -RewriteRule .* fetch.py [QSA,L] +RewriteRule \.(gif|jpe?g|png)$ fetch.py [QSA,L] + + + Order allow,deny + Allow from all + + + Order allow,deny + Allow from all + + +Order deny,allow +Deny from all -- cgit v1.2.3