diff --git a/typo3/sysext/form/Documentation/I/Concepts/FormFileStorages/Index.rst b/typo3/sysext/form/Documentation/I/Concepts/FormFileStorages/Index.rst index 05e7f577f1ac78511b84e85538c31bd4533e7028..6a5746af8d658089886340773560a9eaf61ee512 100644 --- a/typo3/sysext/form/Documentation/I/Concepts/FormFileStorages/Index.rst +++ b/typo3/sysext/form/Documentation/I/Concepts/FormFileStorages/Index.rst @@ -41,13 +41,22 @@ desired upload storage. In principle, files in filemounts are publicly accessible. If the uploaded files could contain sensitive data, you should suppress any HTTP access to the filemount. This may, for example, be achieved by - creating a .htaccess file, assuming you are using an Apache web server. - The directive of the .htaccess file is fairly easy: - - .. code-block:: html - - Order deny,allow - Deny from all + creating a :file:`.htaccess` file, assuming you are using an Apache web + server. The directive of the :file:`.htaccess` file is fairly easy: + + .. code-block:: apache + + # Apache ≥ 2.3 + <IfModule mod_authz_core.c> + Require all denied + </IfModule> + + # Apache < 2.3 + <IfModule !mod_authz_core.c> + Order allow,deny + Deny from all + Satisfy All + </IfModule> The following code block shows you how to configure additional filemounts for form definitions.