On Thu, 25 Nov 2010 18:24:39 -0200, Paul Stanton <p...@mapshed.com.au> wrote:

Yes tested and it works.

Yay! :)

I figured since I'm only executing the logic for things that start with /asset/ctx/ the overhead shouldn't be noticeable, however on second thought maybe this isn't a good idea?

There's a possibility it creates a bottleneck, as you're going to the file system once before the request is handled normally or access is denied. Of course, it depends on the number of context assets you use, etc. If it's in the context and it isn't inside WEB-INF, it's probably meant to be public, so I wouldn't do this check in your scenario.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to