Procházet zdrojové kódy

Fixed #12670 -- Added a note about permissions of files stored in FILE_UPLOAD_TEMP_DIR.

Thanks simon29 for the suggestion.
Rik před 11 roky
rodič
revize
355572ac56
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3 0
      docs/topics/http/file-uploads.txt

+ 3 - 0
docs/topics/http/file-uploads.txt

@@ -164,6 +164,9 @@ There are a few settings which control Django's file upload behavior:
     of ``0600``, and files saved from memory will be saved using the
     system's standard umask.
 
+    For security reasons, these permissions aren't applied to the temporary
+    files that are stored in :setting:`FILE_UPLOAD_TEMP_DIR`.
+
     .. warning::
 
         If you're not familiar with file modes, please note that the leading