struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: direct access to freemarker files
Date Sat, 22 Dec 2007 19:39:59 GMT
Can you just put them under WEB-INF like with JSP files?

d.

--- Leonidas Papadakis <it@creteonline.gr> wrote:

> Greetings to all,
> 
> i have implemented an area on a website only for registered users. The 
> issue is that i want to avoid people calling freemarker files directly 
> from the browser since they will not produce html resulting in viewing 
> the freemarker file code ( it should redirect if appropriate session not 
> found)
> 
> What is the best way to avoid this ? Change apache to deny direct access 
> to ftl files ?
> 
> Thanks for your answers.
> 
> Leon
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message