Hmm. Well the program that gave me the security exception WAS an RMI
program, and one of the exceptions what for not having permissions to
resolv/connect to a host, but I also got a security exception when trying
to open a file.
Nelson Minar wrote:
> This list is full of stuff that's not Linux
This list is full of stuff that's not Linux specific.
>>>applications do not make use of the java.policy file per default in
>>>the Linux 1.2 version.
RMI is an exception to this rule. Since Java 1.1, RMI has required a
security policy of some sort because it can load remote classes by
default.
> > 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
> >
>
> That is NOT TRUE. I was getting security exceptions wh
Oliver Fels wrote:
>
> 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
>
That is NOT TRUE. I was getting security except
> 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 "f