You can't prevent images from being taken.

As for JSP's. Move them to your WEB-INF directory. Then use a servlet to validate the incoming parameters and then forward to the JSP.

-Tim


Paul Taylor wrote:

Thanks works a treat

Is there a similar way to prevent the user typing in the url of a partciuar jsp or image and stop them being taken it. Ive looked at security-constraints but this seems to be based on only certain/logged in users gaining access. I have no concept of logged users in my application but I only want them to access pages via the interface rather than the url except for a few pages which they can access via url to allow them to bookmark them.

Shapira, Yoav wrote:

Hi,
Add a listings parameter to the DefaultServlet in conf/web.xml with a
param-value of false.  IIRC.

Yoav Shapira http://www.yoavshapira.com



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to