Andre-John Mas wrote:
On 22-Jul-2009, at 22:36, Hassan Schroeder wrote:
On Wed, Jul 22, 2009 at 5:23 PM, Andre-John
Masandrejohn@gmail.com wrote:
I want to ensure that someone typing:
http://../webapp/module/jsp/abc.jsp
won't be able to access the resource. I know I could put
Hi,
If I create a folder in the base of my web application, for example:
webapp/mydir
can I prevent access to it?
What I am wanting to do it create modules within my web application
that contain the associated components:
webapp/
module/
js/
css/
jsp/
From: Andre-John Mas [mailto:andrejohn@gmail.com]
Subject: Preventing access to directories?
I know I could put the JSPs in WEB-INF (it is what I do now),
though I am wanting to explore another way of organising and
grouping related resource, for easier management.
Since protection
On Wed, Jul 22, 2009 at 5:23 PM, Andre-John Masandrejohn@gmail.com wrote:
I want to ensure that someone typing:
http://../webapp/module/jsp/abc.jsp
won't be able to access the resource. I know I could put the JSPs in WEB-INF
(it is what I do now), though I am wanting to explore
On 22-Jul-2009, at 22:36, Hassan Schroeder wrote:
On Wed, Jul 22, 2009 at 5:23 PM, Andre-John Masandrejohn@gmail.com
wrote:
I want to ensure that someone typing:
http://../webapp/module/jsp/abc.jsp
won't be able to access the resource. I know I could put the JSPs
in WEB-INF
Here is one alternative:
use a servlet that will handle all the illegal accessed files by define
corresponding servlet-mapping in web.xml.
eg.mapping ErrorServlet to /code dir,and return error code SC_FORBIDDEN
(403).
2009/7/23 Andre-John Mas aj...@sympatico.ca
On 22-Jul-2009, at 22:36, Hassan
On 22-Jul-2009, at 20:23, Andre-John Mas wrote:
Hi,
If I create a folder in the base of my web application, for example:
webapp/mydir
can I prevent access to it?
What I am wanting to do it create modules within my web application
that contain the associated components:
webapp/