I imagine that the same mechanism that protects a web directory would work. One example would be to specify in the web.xml for the container to protect a given directory with authentication. See any book on servlets or JSP about that one.
There are more sophisticated ways, but given the general nature of your question, I would start with that general solution. - Nick On 11/22/05, Deepa Khetan <[EMAIL PROTECTED]> wrote: > > Can i specify in my Config Files(web.xml or struts-config.xml) that a JAR > file cannot be downloaded without logging into the system?? > Regards, > Deepa > >