فهرست منبع

Adding an example htaccess file to protect the folder "documents"

Regis Houssin 15 سال پیش
والد
کامیت
3e3e3883c0
4فایلهای تغییر یافته به همراه17 افزوده شده و 0 حذف شده
  1. 4 0
      README
  2. 5 0
      README-FR
  3. 6 0
      dev/security/README
  4. 2 0
      dev/security/htaccess.txt

+ 4 - 0
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
 ---------------------

+ 5 - 0
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
 ---------------------------

+ 6 - 0
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

+ 2 - 0
dev/security/htaccess.txt

@@ -0,0 +1,2 @@
+Order allow,deny
+Deny from all