------ =_NextPart_001_01C06B5E.AABDB592
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I think we need specifics: what code operation and what security
exception did you receive?
=A0
This is probably not Java3D related, so if you don't find the answers
here you may want to try a more generic Java listserv.
=A0
-Lee
-----Original Message-----
From: Illarramendi Amilibia, Aitor [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 21, 2000 9:43 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Applet security
Hello everybody:=20
This days I have been implementing a little Java3D applet including it
in a Web Server.=20
When I have launched remotely ( or not ) the applet I have received
several security exceptions.=20
I am suposing this things:=20
=A0=A0=A0=A0=A0=A0=A0 - When I launch a Java3D code inside an applet I =
only include in
the codebase of the applet the jar file with my own implementation, not
including Java3D core .jar files.
=A0=A0=A0=A0=A0=A0=A0 - I supose that then the remote machine that is =
running the
applet downloaded from the server needs to have installed the Java3D
core locally.
=A0=A0=A0=A0=A0=A0=A0 - I supose too that Java3D core will run then =
(locally too)
OpenGL or DirectX native code.=20
So the idea could be that if I ensure permissions for the codebase
coming in from the remote Web server the applet will run OK.
So I use the java policytool command and I give permissions for the
codebase coming from http://remoteServer/code_path/-
I reach in this moment my first problem:=20
=BFWich permissions should I give to the applet codebase?=20
I have been trying giving the exactly needed permissions but they were =
a
lot and I became bored...=20
I had to give permission for Runtime, for Property and I noticed that
for every library or dll method of Java3D I had to give another new
permission.
So I decided to give AllPermisions for this codebase.=20
But it had no effect.=20
Trying more I found the worst solution ever known: To give AllPermision
for ALL the codebase I could receive.=20
And it worked correctly.=20
Anyway I think that is not a good decision, so if anyone has been
suffering the same problems and has found a better solution please let
me know. I said it before, I have hunger of knowledge.
Forgive me about my spaggheti english, I am young and yet I have time =
to
learn it better.=20
Merry Christmas and Happy New Year.=20
------ =_NextPart_001_01C06B5E.AABDB592
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>Applet security</TITLE>
<META content=3D"MSHTML 5.50.4207.2601" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D454450615-21122000><FONT face=3DArial =
color=3D#0000ff size=3D2>I=20
think we need specifics: what code operation and what security =
exception did you=20
receive?</FONT></SPAN></DIV>
<DIV><SPAN class=3D454450615-21122000><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D454450615-21122000><FONT face=3DArial =
color=3D#0000ff size=3D2>This=20
is probably not Java3D related, so if you don't find the answers here =
you may=20
want to try a more generic Java listserv.</FONT></SPAN></DIV>
<DIV><SPAN class=3D454450615-21122000><FONT face=3DArial =
color=3D#0000ff=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D454450615-21122000><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>-Lee</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
size=3D2>-----Original Message-----<BR><B>From:</B> Illarramendi =
Amilibia, Aitor=20
[mailto:[EMAIL PROTECTED]]<BR><B>Sent:</B> Thursday, December =
21, 2000=20
9:43 AM<BR><B>To:</B> [EMAIL PROTECTED]<BR><B>Subject:</B> =
[JAVA3D]=20
Applet security<BR><BR></FONT></DIV>
<P><FONT face=3DArial size=3D2>Hello everybody:</FONT> </P>
<P><FONT face=3DArial size=3D2>This days I have been implementing a =
little Java3D=20
applet including it in a Web Server.</FONT> </P>
<P><FONT face=3DArial size=3D2>When I have launched remotely ( or not =
) the applet=20
I have received several security exceptions.</FONT> </P>
<P><FONT face=3DArial size=3D2>I am suposing this things:</FONT> </P>
<P> <FONT face=3DArial =
size=3D2>- When I=20
launch a Java3D code inside an applet I only include in the codebase =
of the=20
applet the jar file with my own implementation, not including Java3D =
core .jar=20
files.</FONT></P>
<P> <FONT face=3DArial =
size=3D2>- I=20
supose that then the remote machine that is running the applet =
downloaded from=20
the server needs to have installed the Java3D core =
locally.</FONT></P>
<P> <FONT face=3DArial =
size=3D2>- I=20
supose too that Java3D core will run then (locally too) OpenGL or =
DirectX=20
native code.</FONT> </P>
<P><FONT face=3DArial size=3D2>So the idea could be that if I ensure =
permissions=20
for the codebase coming in from the remote Web server the applet will =
run=20
OK.</FONT></P>
<P><FONT face=3DArial size=3D2>So I use the java policytool command =
and I give=20
permissions for the codebase coming from <A target=3D_blank=20
=
href=3D"http://remoteServer/code_path/-">http://remoteServer/code_path/-=
</A></FONT></P>
<P><FONT face=3DArial size=3D2>I reach in this moment my first =
problem:</FONT>=20
</P>
<P><FONT face=3DArial size=3D2>=BFWich permissions should I give to =
the applet=20
codebase?</FONT> </P>
<P><FONT face=3DArial size=3D2>I have been trying giving the exactly =
needed=20
permissions but they were a lot and I became bored...</FONT> </P>
<P><FONT face=3DArial size=3D2>I had to give permission for Runtime, =
for Property=20
and I noticed that for every library or dll method of Java3D I had to =
give=20
another new permission.</FONT></P>
<P><FONT face=3DArial size=3D2>So I decided to give AllPermisions for =
this=20
codebase.</FONT> </P>
<P><FONT face=3DArial size=3D2>But it had no effect.</FONT> </P>
<P><FONT face=3DArial size=3D2>Trying more I found the worst solution =
ever known:=20
To give AllPermision for ALL the codebase I could receive.</FONT> =
</P>
<P><FONT face=3DArial size=3D2>And it worked correctly.</FONT> </P>
<P><FONT face=3DArial size=3D2>Anyway I think that is not a good =
decision, so if=20
anyone has been suffering the same problems and has found a better =
solution=20
please let me know. I said it before, I have hunger of =
knowledge.</FONT></P>
<P><FONT face=3DArial size=3D2>Forgive me about my spaggheti english, =
I am young=20
and yet I have time to learn it better.</FONT> </P>
<P><FONT face=3DArial size=3D2>Merry Christmas and Happy New =
Year.<I></I></FONT>=20
</P></BLOCKQUOTE></BODY></HTML>
------ =_NextPart_001_01C06B5E.AABDB592--
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".