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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM 6.3- Prevent downloads of asset for some users

armanm32055672
Level 3
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
Veena_Vikram
Correct answer by
Community Advisor
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
Veena_Vikram
Community Advisor
Community Advisor

Are they authenticated users ?

smacdonald2008
Level 10
Level 10

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

Veena_Vikram
Community Advisor
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 ?

Veena_Vikram
Correct answer by
Community Advisor
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

armanm32055672
Level 3
Level 3

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

Veena_Vikram
Community Advisor
Community Advisor

May be not in a straight forward way ...