aspose file tools*
The moose likes JSP and the fly likes How to restrict access of images folder when application made using JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

How to restrict access of images folder when application made using JSP

nick sharma
Greenhorn

Joined: May 05, 2008
Posts: 28
Hi
I have developed an application using JSP's and have deployed it on apache tomcat 5.5.24.My application uses images which are stored in a folder named images,the hierarchy is as follows context>dept>branch>images>
The problem i face is that i am able to access the images directly by typing the url in the browser.can anyone please tell me how to restrict access to this folder by others and also how do i access the images using JSP if they are secured by some method??
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61066
    
  66

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
jQuery in Action, 2nd edition
 
subject: How to restrict access of images folder when application made using JSP