AEM 6.3- Prevent downloads of asset for some users | Community
Skip to main content
armanm32055672
Level 2
October 13, 2017
Solved

AEM 6.3- Prevent downloads of asset for some users

  • October 13, 2017
  • 8 replies
  • 5488 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by VeenaVikraman

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

8 replies

VeenaVikraman
Community Advisor
Community Advisor
October 13, 2017

Are they authenticated users ?

armanm32055672
Level 2
October 13, 2017

Yes

smacdonald2008
Level 10
October 13, 2017

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

VeenaVikraman
Community Advisor
Community Advisor
October 13, 2017

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 ?

VeenaVikraman
Community Advisor
VeenaVikramanCommunity AdvisorAccepted solution
Community Advisor
October 13, 2017

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

armanm32055672
Level 2
October 13, 2017

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

VeenaVikraman
Community Advisor
Community Advisor
October 13, 2017

May be not in a straight forward way ...

armanm32055672
Level 2
October 13, 2017

Okay thanks