diff --git a/README b/README index 97906b636c6ce1f737f237d2c461c5e40091e903..ac0363fb3b28e6b7c30befdad57655e94384f8a2 100644 --- a/README +++ b/README @@ -39,6 +39,10 @@ install this version like this: - Follow instructions provided by installer... +- If your web hosting does not allow you to place the folder "documents" outside + the site root, add the /dev/security/htaccess.txt in the root directory of + folder "documents" by renaming .htaccess + II - DOLIBARR UPGRADE --------------------- diff --git a/README-FR b/README-FR index 44b0900f8674ab9fb481756f77e8ff3c9e3bc42e..ebf8388c5d73f5c545838777ff99d9a222f3e29e 100644 --- a/README-FR +++ b/README-FR @@ -41,6 +41,11 @@ installer Dolibarr avec cette version de la manière suivante: - Suivez les instructions fournis par l'installeur... +- Si votre hébergement ne permet pas de placer le répertoire "documents" en dehors + de la racine du site, ajoutez le fichier /dev/security/htaccess.txt à la racine + du répertoire documents en le renommant en .htaccess + + II - METTRE A JOUR DOLIBARR --------------------------- diff --git a/dev/security/README b/dev/security/README new file mode 100644 index 0000000000000000000000000000000000000000..8c0727be0aa30a9758a61caf317402d71f9291ad --- /dev/null +++ b/dev/security/README @@ -0,0 +1,6 @@ +README (English) +-------------------------------- + +If your web hosting does not allow you to place the folder "documents" outside +the site root, add the htaccess.txt in the root directory of +folder "documents" by renaming .htaccess \ No newline at end of file diff --git a/dev/security/htaccess.txt b/dev/security/htaccess.txt new file mode 100644 index 0000000000000000000000000000000000000000..7d3aaf1a903f75446d2fddb418387ea875d8acf3 --- /dev/null +++ b/dev/security/htaccess.txt @@ -0,0 +1,2 @@ +Order allow,deny +Deny from all \ No newline at end of file