I have developed a java 1.4 web application.Application is deployed on jboss(tomcat).
suppose my folder structure is
mainfolder(contains subfolders and jsp pages)
images(contains all of images files)
headerfiles(header files)
javascript(javascript files)
url for website login page is
mywebsite.com/mainfolder/login.jsp
if user types complete url for some static resource
mywebsite.com/mainfolder/images/myimage.jpeg
then he can view image on this url.
I want to stop user to view these resources.What should i do?
is there way some way to specigy pattern of file names which i dont want user to see. In that case i can specify *.ssi pattern to hide.