Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

AEM 6.3- Prevent downloads of asset for some users

Avatar

Level 3

Hi,

Is there any way I can disable access to download assets for some users. I still want them to be able to view the asset but they will not be able to download it.

Thanks,

Arman

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

I did a run through the internet and found something like this https://kbdeveloper.qoppa.com/?p=3608 which says

View solution in original post

8 Replies

Avatar

Community Advisor

Are they authenticated users ?

Avatar

Level 10

Only way i can see is to write a custom servlet that controls asset download.

Avatar

Community Advisor

Arman

  There are some catch here. Assume you are displaying a PDF to the user . Now if he opens the PDF (as you want them to still see the doc) , if they do a save of that PDF from the browser, they will still be able to save it to local right ?

Avatar

Correct answer by
Community Advisor

I did a run through the internet and found something like this https://kbdeveloper.qoppa.com/?p=3608 which says

Avatar

Level 3

Yes, that does makes sense. So essentially this wouldn't be possible, right?

Avatar

Community Advisor

May be not in a straight forward way ...