FilePermission's in catalina.policy.

2004-09-22 Thread Andoni List
Hello, I am trying to run Tomcat with a very strict security cordon around it. So I am using catalina.policy to shut down everything except exactly what I need. I am having one problem with a small bit of this at the moment, I am trying to find get the following to allow files be read from my lib

Re: context path for a war file

2004-09-22 Thread Andoni List
Yes, unless I'm mistaken, the inclusion of context elements in the .war file is a Tomcat 5+ feature. There is no way to upload .war files before this if you are going to serve from the .war file. Andoni. - Original Message - From: "J S" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent:

Re: Detecting The Stop Button

2004-09-13 Thread Andoni List
This is certainly not an easy thing to do, you could try to use JavaScript to continuously generate requests to the server every 5 seconds until the results are ready and then they are returned instead of the "waiting" screen. Then you would have to tell the servlet to expect requests every 5 (mayb

Re: Tomcat Realm--> pasword encryption & servlet location in a webApp

2004-08-05 Thread Andoni List
Encryption: There is only one way to encrypt passwords if you are not using SSL. That is to use Paj's JavaScript module available here: http://pajhome.org.uk/crypt/md5/ Although the Tomcat Realm does have an MD5 flag which you can set to encrypt the passwords being sent to it this is too late as