How to forbid all access to a URL
From Resin 3.0
(Difference between revisions)
(New page: Category: HowTo Category: Security With Resin 4.0, you can deny all access to a set of URLs, i.e. allowing behavior just like WEB-INF and META-INF <web-app xmlns="http://caucho....) |
|||
Line 10: | Line 10: | ||
<sec:url-pattern>/more-hidden/*</sec:url-pattern> | <sec:url-pattern>/more-hidden/*</sec:url-pattern> | ||
</sec:Deny> | </sec:Deny> | ||
+ | |||
+ | </web-app> |
Latest revision as of 17:45, 15 January 2009
With Resin 4.0, you can deny all access to a set of URLs, i.e. allowing behavior just like WEB-INF and META-INF
<web-app xmlns="http://caucho.com/ns/resin" xmlns:sec="urn:java:com.caucho.security"> <sec:Deny> <sec:url-pattern>/hidden/*</sec:url-pattern> <sec:url-pattern>/more-hidden/*</sec:url-pattern> </sec:Deny> </web-app>