chkal/pf-issue-test — Issue #107: Restriction for patterns, user-agent, and http-headers
Author: chkal
Created: 2012-03-06 07:36:53+00:00
State: open

Originally filed by **christia...@gmail.com** on 2011-05-20T21:22:40

Google Code issue: http://code.google.com/p/prettyfaces/issues/detail?id=109

It would be very useful in my opinion to restrict the direct access to resources by a pattern.
If a user requests /admin/admin.xhtml it can only be restricted to show him the site if the file is within the WEB-INF dir or by a filter. This could be done with:

1. Url-Condition

/pageNotFound.xhtml

or with an own tag, e.g. or so.
Maybe there is already a solution for direct access of files, but i don't know it.