> Could someone please tell me how to use the policy tool to set
> permissions for classes I run from my filesystem?  I thought this entry
Dont use the tool, do it by hand, so you know what you get ;)
 
> grant codeBase "file:" {
>   permission java.security.AllPermission;
> };

 grant codeBase "file://-" {
  permission java.security.AllPermission;
 };

You need to set it to all dirs recursively via the '-' character (and to 
specify the whole URL, not only the protocol part).

This only works for the appletviewer, applications do not make any 
use of the java.policy file per default in the Linux 1.2 version.
You need to set a runtime option if you want to use it.
This will change in JDK 1.3

Oliver

___________________________________________________
Oliver Fels                    | e-mail:         
IQena GmbH                     | [EMAIL PROTECTED]
Team Manager JAVA-/IT-Security | http://www.iqena.com
Friedrichshafen, Germany       | 
---------------------------------------------------


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to