I'm afraid that what you need is the functionality executed by contentSecurity filter, but that is only part of cms subchain while DMS download servlet is executed prior to that. You can try to move the contentSecurity up in the chain before the servlets ... not sure of the results tho. In any case make sure you do not put it before cache filter.
HTH, Jan On May 12, 2011, at 6:22 PM, Rakesh Vidyadharan wrote: > Is it possible to protected DMS resources, so that access to specific items > on the public instances take the user to the login screen? At the moment, it > seems to just throw a 404 error, and a quick peek into the DMSDownloadServlet > also seems to indicate that it assumes that the document is not protected? > Is there some configuration that I missed, or do I need to write my own > servlet that will check ACL and redirect to login screen as required? If I > need to write a servlet, which servlet handles the same on the website? I > could just try and combine the two servlets. > > Thanks > Rakesh > > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
