Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Block .exe file being uploaded to AEM author accessible via Dispatcher

Avatar

Level 3

Hi,

I am looking for a way to block the upload of .exe file from being upload on AEM author accessed via dispatcher URL.

I know there is an OSGI configs that can be used to allow upload for specific MINE-TYPE but i don't want to go through this route.

Let me know if we can block it via dispatcher configuration.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

It is not possible to block asset upload from dispatcher by asset type

The asset is uploaded by a form file upload action http://localhost:4502/content/dam/aem64app.createasset.html 

 

you have to put a check at client side.

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi,

It is not possible to block asset upload from dispatcher by asset type

The asset is uploaded by a form file upload action http://localhost:4502/content/dam/aem64app.createasset.html 

 

you have to put a check at client side.