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

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

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?