[DECLINED] Asset disallow file types

Hi Sebastian,

It would be great if a setting on appsettings could set file types that are not allowed in general. Currently, exe file type can be uploaded to the server side. Can we configure this via appsettings?

“disallowFileTypes”: [“exe”, “dll”]

Asset or Content file uploads check this field.

Thank you.

Have you tried it with new asset scripts?

You can easily create a script like this

if (ctx.command.fileName.indexOf('.exe') > 0) {
   reject('Application binaries are not allowed');

This topic was automatically closed after 2 days. New replies are no longer allowed.