From f058c170c4b48b65c5f5f649e66ef0f8275c99e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Sun, 21 Jan 2018 19:57:46 +0100 Subject: [PATCH] deny access to internal folders --- www/dynamic/.gitignore | 3 ++- www/dynamic/.htaccess | 1 + www/extern/.htaccess | 1 + www/fragments/.htaccess | 1 + www/internals/.htaccess | 1 + www/pages/.htaccess | 1 + www/statics/.htaccess | 1 + www/temp/.gitignore | 3 ++- www/temp/.htaccess | 1 + 9 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 www/dynamic/.htaccess create mode 100644 www/extern/.htaccess create mode 100644 www/fragments/.htaccess create mode 100644 www/internals/.htaccess create mode 100644 www/pages/.htaccess create mode 100644 www/statics/.htaccess create mode 100644 www/temp/.htaccess diff --git a/www/dynamic/.gitignore b/www/dynamic/.gitignore index 0318876..d32047b 100644 --- a/www/dynamic/.gitignore +++ b/www/dynamic/.gitignore @@ -1,3 +1,4 @@ * !.gitignore -!.gitkeep \ No newline at end of file +!.gitkeep +!.htaccess \ No newline at end of file diff --git a/www/dynamic/.htaccess b/www/dynamic/.htaccess new file mode 100644 index 0000000..14249c5 --- /dev/null +++ b/www/dynamic/.htaccess @@ -0,0 +1 @@ +Deny from all \ No newline at end of file diff --git a/www/extern/.htaccess b/www/extern/.htaccess new file mode 100644 index 0000000..14249c5 --- /dev/null +++ b/www/extern/.htaccess @@ -0,0 +1 @@ +Deny from all \ No newline at end of file diff --git a/www/fragments/.htaccess b/www/fragments/.htaccess new file mode 100644 index 0000000..14249c5 --- /dev/null +++ b/www/fragments/.htaccess @@ -0,0 +1 @@ +Deny from all \ No newline at end of file diff --git a/www/internals/.htaccess b/www/internals/.htaccess new file mode 100644 index 0000000..14249c5 --- /dev/null +++ b/www/internals/.htaccess @@ -0,0 +1 @@ +Deny from all \ No newline at end of file diff --git a/www/pages/.htaccess b/www/pages/.htaccess new file mode 100644 index 0000000..14249c5 --- /dev/null +++ b/www/pages/.htaccess @@ -0,0 +1 @@ +Deny from all \ No newline at end of file diff --git a/www/statics/.htaccess b/www/statics/.htaccess new file mode 100644 index 0000000..14249c5 --- /dev/null +++ b/www/statics/.htaccess @@ -0,0 +1 @@ +Deny from all \ No newline at end of file diff --git a/www/temp/.gitignore b/www/temp/.gitignore index 0318876..d32047b 100644 --- a/www/temp/.gitignore +++ b/www/temp/.gitignore @@ -1,3 +1,4 @@ * !.gitignore -!.gitkeep \ No newline at end of file +!.gitkeep +!.htaccess \ No newline at end of file diff --git a/www/temp/.htaccess b/www/temp/.htaccess new file mode 100644 index 0000000..14249c5 --- /dev/null +++ b/www/temp/.htaccess @@ -0,0 +1 @@ +Deny from all \ No newline at end of file