Java Mailing List Archive

http://www.junlu.com/

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

tomcat Webapp security.

Sachin Patel

2007-01-23

Replies:

I have a web application and a functionality to be able to upload files to one of the folders inside it and be able to access it using direct link URL.

now I am wondering if someone uploads .jsp file, how would I stop tomcat from compiling and running that file when someone requests that same file using direct link. I want to treat it as a file, not a page.

Is there any configuration that will stop that file from configuring? Just like execute scripts permission on IIS directory.



____________________________________________________________________________________
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265
©2008 junlu.com - Jax Systems, LLC, U.S.A.