Well, The exact problem is, my Applet.jar gets downloaded at the client
side, on request. But any person who knows the path of this JAR file, on the
server, can download this JAR. So, i was just thinking, if i can specify
somewhere that this JAR canot be downloaded unless an Authenticated user
tries to do it. It needs to be downloaded only after a person logs into the
system and clicks on the function to Upload Files( For which this JAR gets
downloaded).

Deepa


On 11/22/05, Nick Sophinos <[EMAIL PROTECTED]> wrote:
>
> 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
> >
> >
>
>

Reply via email to