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
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
in jdk/jre/lib/security/java.policy would take care of that, but
apparently it does not. The documentation for this is scanty and
driving me nuts (I had to add an
At Tue, 03 Aug 1999 Walter Chang wrote:
>When I ran policytool and tried to add a policy entry, the program hung
>without giving me any error message. Has anyone experienced this? Can
>I work around it?
Yes:
Edit your poliy files manually
When I ran policytool and tried to add a policy entry, the program hung
without giving me any error message. Has anyone experienced this? Can
I work around it?
Walter
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a
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