Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

how do I restrict access to folder?

Sköldheimer Fredrik

2006-12-12

Replies:

Hello

I'm new to the tomcat servers (have experience from apache webserver).
I have a project coded in Java/JSF/Facelets and I need to restrict access to the folder that contains the xhtml-template files. The index.xhtml files should be able to reach the content in the folder that contains the other xhtml files but you should not be able to reach them directly.

Ex.
- index.xhtml
-- [templates]
---- someTemplate.xhtml

In witch I want to restrict access to all files in the [templates] folder.

How do I accomplish this?

/Fredrik

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.