Hi guys,
I was wondering if it would make sense to be able to blacklist certain file types of being able to be uploaded by a non administrator back-end account to the Files directory.
From a pen-test we got as feedback that we need to exclude for example .exe and .svg files from the files which backend users can upload, because they can do harm to the system.
In my honest opinion I think it is a bit paranoid, but our customer has to comply due to strict rules from their mother company in the USA.
We created, as a workaround, a custom service which monitors the files directory and quarantines these files when they are uploaded (moved and renamed with a timestamp to a quarintine directory in the App_Data folder and log a fatal), but for the back-end user this is not always clear. They try to upload an SVG for example, the system says 'Upload done' and it isn't there ...
Isn't it possible to supply an option in the Files manager settings where an Administrator can blacklist extensions and the File Manger don't show these items and prevent them from being uploaded. Perhaps with a notification to the filemanager about which extensions are excuded by the admin, when extensions are added to the blacklist.