From 987f01c85e2ee4bcc4700f1738ccba5afdfbf292 Mon Sep 17 00:00:00 2001 From: Petr Pridal Date: Wed, 28 May 2014 08:33:49 +0200 Subject: [PATCH] Block direct downloading of .mbtiles by default #8 --- .htaccess | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.htaccess b/.htaccess index 5773856..678e211 100644 --- a/.htaccess +++ b/.htaccess @@ -20,6 +20,12 @@ RewriteEngine on # Header set Access-Control-Allow-Origin * # +# Block direct downloading of .mbtiles + + Order Allow,Deny + Deny from all + + # Mapping of the WMTS standardized URLs to real files and XML capabilities to tileserver.php # WMTS RESTful