From 72b63d0711ac0b1d1eec730b50ac6fa5439b60dc Mon Sep 17 00:00:00 2001 From: Charles Marion Date: Wed, 2 Mar 2011 15:23:31 +0100 Subject: [PATCH] ENH: security --- .htaccess | 1 + application/.htaccess | 3 +++ data/assetstore/.gitignore | 1 + data/assetstore/.htaccess | 3 +++ data/thumbnail/.gitignore | 3 +++ log/.gitignore | 1 + log/.htaccess | 3 +++ sql/.htaccess | 3 +++ tests/.htaccess | 3 +++ tmp/.htaccess | 3 +++ translation/.htaccess | 3 +++ translation/fr-main.csv | 5 ++++- 12 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 application/.htaccess create mode 100644 data/assetstore/.htaccess create mode 100644 data/thumbnail/.gitignore create mode 100644 log/.htaccess create mode 100644 sql/.htaccess create mode 100644 tests/.htaccess create mode 100644 tmp/.htaccess create mode 100644 translation/.htaccess diff --git a/.htaccess b/.htaccess index a44e8af1d..858207ee6 100644 --- a/.htaccess +++ b/.htaccess @@ -3,6 +3,7 @@ RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* index.php + # Security: no folder fetching diff --git a/application/.htaccess b/application/.htaccess new file mode 100644 index 000000000..aa90efbc4 --- /dev/null +++ b/application/.htaccess @@ -0,0 +1,3 @@ + +Order Allow,Deny +Deny from all \ No newline at end of file diff --git a/data/assetstore/.gitignore b/data/assetstore/.gitignore index d6b7ef32c..cb7328e19 100644 --- a/data/assetstore/.gitignore +++ b/data/assetstore/.gitignore @@ -1,2 +1,3 @@ * !.gitignore +!.htaccess \ No newline at end of file diff --git a/data/assetstore/.htaccess b/data/assetstore/.htaccess new file mode 100644 index 000000000..aa90efbc4 --- /dev/null +++ b/data/assetstore/.htaccess @@ -0,0 +1,3 @@ + +Order Allow,Deny +Deny from all \ No newline at end of file diff --git a/data/thumbnail/.gitignore b/data/thumbnail/.gitignore new file mode 100644 index 000000000..cb7328e19 --- /dev/null +++ b/data/thumbnail/.gitignore @@ -0,0 +1,3 @@ +* +!.gitignore +!.htaccess \ No newline at end of file diff --git a/log/.gitignore b/log/.gitignore index d6b7ef32c..cb7328e19 100644 --- a/log/.gitignore +++ b/log/.gitignore @@ -1,2 +1,3 @@ * !.gitignore +!.htaccess \ No newline at end of file diff --git a/log/.htaccess b/log/.htaccess new file mode 100644 index 000000000..aa90efbc4 --- /dev/null +++ b/log/.htaccess @@ -0,0 +1,3 @@ + +Order Allow,Deny +Deny from all \ No newline at end of file diff --git a/sql/.htaccess b/sql/.htaccess new file mode 100644 index 000000000..aa90efbc4 --- /dev/null +++ b/sql/.htaccess @@ -0,0 +1,3 @@ + +Order Allow,Deny +Deny from all \ No newline at end of file diff --git a/tests/.htaccess b/tests/.htaccess new file mode 100644 index 000000000..aa90efbc4 --- /dev/null +++ b/tests/.htaccess @@ -0,0 +1,3 @@ + +Order Allow,Deny +Deny from all \ No newline at end of file diff --git a/tmp/.htaccess b/tmp/.htaccess new file mode 100644 index 000000000..aa90efbc4 --- /dev/null +++ b/tmp/.htaccess @@ -0,0 +1,3 @@ + +Order Allow,Deny +Deny from all \ No newline at end of file diff --git a/translation/.htaccess b/translation/.htaccess new file mode 100644 index 000000000..aa90efbc4 --- /dev/null +++ b/translation/.htaccess @@ -0,0 +1,3 @@ + +Order Allow,Deny +Deny from all \ No newline at end of file diff --git a/translation/fr-main.csv b/translation/fr-main.csv index d9dfa6f14..b11dca6a7 100644 --- a/translation/fr-main.csv +++ b/translation/fr-main.csv @@ -81,4 +81,7 @@ Download;T Delete Feed;Effacer cette actualité Do you really want to delete the feed;Voulez-vous vraiment supprimer l'actualité Yes;Oui -No;Non \ No newline at end of file +No;Non +Plugins;Plugins +E-mail;E-mail +Remember Me;Se souvenir de moi \ No newline at end of file