Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!
SOLVED

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

Avatar

Level 5

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

1 Accepted Solution

Avatar

Correct answer by
Level 10

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-manage...

Thanks,

Sham

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

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-manage...

Thanks,

Sham

Avatar

Level 1

"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?