Restrict read write access on dispatcher level | Community
Skip to main content
October 16, 2015
Solved

Restrict read write access on dispatcher level

  • October 16, 2015
  • 1 reply
  • 638 views

Hi,

Assume my docroot cache directory is  <docroot>/cache/ and inside /cache I have folder /temp. 

Do we have any option through which I can provide read or write access on temp folder, in other words if i have two .html files inside <docroot>/cache/temp say a.html and b.html. Now if I need that through dispatcher if someone tries to access a.html or b.html the user should be given access denied or 404.

Is there any configuration that can be used in dispatcher.any?

Please provide your suggestions or any approach which you feel can fulfill this requirement.

 

Thanks

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 joerghoh

If that's a static rule, you can use the webserver features to disallow access to that directory (the question remains, why you actually have data there at all). If you want to handle that more dynamically, you could use permission sensitive caching (http://dev.day.com/docs/en/cq/current/deploying/dispatcher/permissions_cache.html).

Jörg

1 reply

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

If that's a static rule, you can use the webserver features to disallow access to that directory (the question remains, why you actually have data there at all). If you want to handle that more dynamically, you could use permission sensitive caching (http://dev.day.com/docs/en/cq/current/deploying/dispatcher/permissions_cache.html).

Jörg