From 459a524388b093f4b0dca097c1fc47ca5b0b9bef Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 9 Dec 2010 22:55:36 +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.3@114776 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- .htaccess | 14 +++++++------- web.config | 11 +++++++++++ 2 files changed, 18 insertions(+), 7 deletions(-) create mode 100644 web.config diff --git a/.htaccess b/.htaccess index c5f7ad8cd..db440e756 100644 --- a/.htaccess +++ b/.htaccess @@ -1,9 +1,9 @@ - + Deny from all - - + + Allow from all - - - 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