Issue
- The customer tried to restrict the file types .exe and .cmd to be uploaded in Documents and Media but despite configuring
dl.file.extensions
anddl.file.extensions.strict.check
properties inportal-ext.properties
it still allows them to upload files with these extensions.
Environment
- DXP 7.2, DXP 7.4, Quarterly Release
Resolution
- The properties
dl.file.extensions
anddl.file.extensions.strict.check
have been deprecated. These configurations can be set by the following instructionsn in the UI:
- Navigate to Control Panel > System Settings > Documents and Media > Service.
- Locate the "File Extensions" setting and specify the allowed file extensions.
- The default setting is "*" which allows all file types
- In contrast to
portal-ext.properties
, it does not separate multiple file types by comma. You have to add a new File Extensions per file type.- You can just click on the "+" button to add more field.
Additional Information