Re: access rights for JAR

2005-11-22 Thread Laurie Harper
If you're using (or are willing to use) container managed security, Nick's suggestion will work for that scenario. Add a security constraint to your web.xml for the applet JAR. If you can't use container managed security, you'll have to get rather more fancy, for example by providing a servlet

Re: access rights for JAR

2005-11-22 Thread Deepa Khetan
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 trie

Re: access rights for JAR

2005-11-22 Thread Nick Sophinos
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 na

access rights for JAR

2005-11-22 Thread Deepa Khetan
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