RE: Preventing File Access

2008-09-10 Thread Martin Gainty

agreed

spring folks also suggest placing your jsps  under web-inf

Martin 
__ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 


> From: [EMAIL PROTECTED]
> To: users@tomcat.apache.org
> Subject: Re: Preventing File Access
> Date: Wed, 10 Sep 2008 16:39:29 -0400
> 
> Steve,
> >>
> >> Can someone point me to where I can read how to prevent/redirect  
> >> access to a particular file in the Tomcat/webapp context.
> >> Specifically, all of my directories have the OS X DS_Store file.   
> >> I  would like to redirect users to an error page when this file is  
> >> directly accessed.
> >>
> > In the future it would help if you mention what version of Tomcat  
> > you are using.
> 
> version 5.5.7
> >
> >
> > You will have to use a security constraint,
> >
> > read these two threads for examples.
> >
> > http://marc.info/?l=tomcat-user&m=110311676821916&w=2
> >
> > http://marc.info/?l=tomcat-user&m=98100806313397&w=2
> 
> Thank you for the reference.
> 
> Stephen Caine
> CommonGround Softworks, Inc.
> 
> -
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

_
Get more out of the Web. Learn 10 hidden secrets of Windows Live.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008

Re: Preventing File Access

2008-09-10 Thread Stephen Caine

Steve,


Can someone point me to where I can read how to prevent/redirect  
access to a particular file in the Tomcat/webapp context.
Specifically, all of my directories have the OS X DS_Store file.   
I  would like to redirect users to an error page when this file is  
directly accessed.


In the future it would help if you mention what version of Tomcat  
you are using.


version 5.5.7



You will have to use a security constraint,

read these two threads for examples.

http://marc.info/?l=tomcat-user&m=110311676821916&w=2

http://marc.info/?l=tomcat-user&m=98100806313397&w=2


Thank you for the reference.

Stephen Caine
CommonGround Softworks, Inc.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Preventing File Access

2008-09-10 Thread Steve Ochani
Send reply to:  Tomcat Users List 
From:   Stephen Caine <[EMAIL PROTECTED]>
To: Tomcat Users List 
Subject:    Preventing File Access
Date sent:  Tue, 09 Sep 2008 19:35:31 -0400

> All,
> 
> Can someone point me to where I can read how to prevent/redirect 
> access to a particular file in the Tomcat/webapp context.  
> Specifically, all of my directories have the OS X DS_Store file.  I 
> would like to redirect users to an error page when this file is 
> directly accessed.
> 
> Thank you,
> 

In the future it would help if you mention what version of Tomcat you are using.

You will have to use a security constraint,

read these two threads for examples.


http://marc.info/?l=tomcat-user&m=110311676821916&w=2


http://marc.info/?l=tomcat-user&m=98100806313397&w=2



-Steve O.




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Preventing File Access

2008-09-09 Thread Stephen Caine

All,

Can someone point me to where I can read how to prevent/redirect  
access to a particular file in the Tomcat/webapp context.   
Specifically, all of my directories have the OS X DS_Store file.  I  
would like to redirect users to an error page when this file is  
directly accessed.


Thank you,

Stephen Caine
CommonGround Softworks, Inc.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]