Hide filter access to WEB-INF [message #119511] |
Mon, 13 October 2008 22:41  |
Eclipse User |
|
|
|
Hi, Im working on a web-application using Eclipse-Equinox server side, I
have integrated myFaces to it. I need the WEB-INF/web.xml file to set some
configurations for myFaces, but I dont want that the users have access to
this resource.
My web resources are under the /web directory, so I have /web/WEB-INF
JspServlet _jspServlet = new JspServlet(context.getBundle(), "/web");
Is there a way to hide to the browser the WEB-INF resource, and any files
or sub directories inside it?
Thanks.
|
|
|
|
|
|
|
|
|
Re: Hide filter access to WEB-INF [message #120131 is a reply to message #120058] |
Thu, 23 October 2008 22:11  |
Eclipse User |
|
|
|
The HttpContext implementation sounds good... Thanks, with this
implementation can we filter any other directory on my web app, based on
javax.security.auth.Subject?? This could be rely good... Today I was
looking to this plugin org.eclipse.equinox.examples.httpsecurity, I think
that is a good base to implement this new HttpContext. Ill try that and
probably I will post more questions thoughts on this later...
many Thanks
Ignacio.
|
|
|
Powered by
FUDForum. Page generated in 0.02926 seconds