From 872e188268996d9ba73df0cc0d3f2d97fe945621 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 9 Dec 2010 22:54:18 +0000 Subject: [PATCH] BUGFIX Disallow web access to sapphire/silverstripe_version to avoid information leakage (from r114773) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114774 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- .htaccess | 3 +++ web.config | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 web.config diff --git a/.htaccess b/.htaccess index b78030c89..db440e756 100644 --- a/.htaccess +++ b/.htaccess @@ -3,4 +3,7 @@ Allow from all + + + Deny from all \ No newline at end of file diff --git a/web.config b/web.config new file mode 100644 index 000000000..0e3d0aad2 --- /dev/null +++ b/web.config @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file