0

Is there a way we can allow doc and excel files in the FAL upload in the backend? for e.g we have this in the TCA

\TYPO3\CMS\Core\Resource\File::FILETYPE_AUDIO => [
    'showitem' => '
    --palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
    --palette--;;filePalette',
],

but there is not FILETYPE_DOCUMENT or something like that

Ravi Sachaniya
  • 1,641
  • 18
  • 20

1 Answers1

1

Allowed file-types for upload are usually adjusted in Installtool, at [BE][fileDenyPattern].
In Version 8.7 the default entry is \.(php[3-7]?|phpsh|phtml|pht)(\..*)?$|^\.htaccess$ to avoid access on php-files and on .htaccess.

For TCA-settings have a look here: https://docs.typo3.org/typo3cms/TCAReference/ColumnsConfig/Type/Input.html#linkpopup
There is mentioned that usually there are no restrictions configured.

David
  • 5,882
  • 3
  • 33
  • 44