Yes Anant it will work with all the permissions but it is not advisable to
do so ...
There is also a tool to apply security settings in Java 2
On Tue, 13 Mar 2001, A MITTAL wrote:
> It works fine with setsecurity manager on both client and server in Java 2. In
> fact you need to have it on both client and server.
>
> But there is a difference in the security policy of Java 1.1 and Java 1.2. Java
> 1.2 follows the principal of least privelege in which an application or an
> applet gets access to only what they need. While in Java 1.1 an
> aplication/applet if trusted gets automatic access to everything.
>
> So I think, you need to look for the java.policy file and grant all permissions
> to your codebase. Hopefully it will work with it.
>
> Anant Mittal
>
>
>
> > From: "rgsiva" <rghsiva@e...>
> > To: "Professional Java" <pro_java@p...>
> > Subject: [pro_java] securitymanager
> > Date: Mon, 12 Mar 2001 09:07:40 +0530
> > List-Unsubscribe: <mailto:$subst('Email.Unsub')>
> >
> >
> > Hi Gurus
> > Please explain me the usage of setting the RMI security manager in
> > client and server side for RMI application.
> > In JDK 1.1 if i set the security manager on both server and client
> > side,it works fine.But if i run the same application in jdk1.2,
> > it gives security exception-Access Denied-unable to resolve.
> > But if i remove the setScurityManager line the program works fine.Why
> >
> > Thanks in advance
> > Jothi
>
>
>