Can we store clientlibs( css and js) in dam. | Community
Skip to main content
varuns46785756
Level 5
October 16, 2015
Solved

Can we store clientlibs( css and js) in dam.

  • October 16, 2015
  • 3 replies
  • 2120 views

Can we store Clientlibs inside dam or if yes , is it good practice to store Clientlibs inside dam?

Actually my client wants to  update the CSS and JS from Dam and he wants to give rights to author to change/update the Clientlibs(CSS ,JS with css.txt/js.txt )files from dam only.I am not sure is this a good practice or is it possible in CQ. Please suggest.

 

 

Thanks,

Varun

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 Sham_HC

HI Varun,

It is possible but not recommended from security perspective . See more details [1].  Also you loose the power of modularity of Organizing and optimizing the serving of client code and have to include the script using include tag with path rather than category.  Plus additional code need in case you want to shortcut or hide the actual location of path. 

http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__jijk-i_have_somerawhtml.html

Thanks,

Sham

3 replies

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

HI Varun,

It is possible but not recommended from security perspective . See more details [1].  Also you loose the power of modularity of Organizing and optimizing the serving of client code and have to include the script using include tag with path rather than category.  Plus additional code need in case you want to shortcut or hide the actual location of path. 

http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__jijk-i_have_somerawhtml.html

Thanks,

Sham

varuns46785756
Level 5
October 16, 2015

thanks Sham

j_t_v52898071
August 16, 2019

"more details [1]" seems to be missing a link in this forum. Sham HC any chance for a new link or an elaboration on the subject?