> Date:         Wed, 27 Sep 2000 11:14:42 -0700
> Sender: Discussion list for Java 3D API <[EMAIL PROTECTED]>
> From: Jack Pien <[EMAIL PROTECTED]>
>
> CompressedGeometry in the API doc talks much about improving download speed
> across networks but when i try to use CompressGeometry in an Applet, a
> Security Violation occurs.  Is the CompressedGeometryFile using a similar
> object to the File object (which i know causes all kinds of security errors
> when used in an applet)?  could a URL type object be used cause i know that
> URL used with a "http" protocal works around Applet security restrictions.

Unfortunately, the compressed geometry file format was developed externally to
Java 3D and is a structured file that requires random access, so it can't be
streamed from a URL.  Applets can only access streams with the default
security, so this leads to the security violations.

I've submitted a Request For Enhancement (RFE 4374631) to address this issue.
I would prefer implementing Serializable for CompressedGeometry, but other
possibilities include adding a CompressedGeometryFile constructor that accepts
InputStream while ignoring the object directory and disallowing random access,
or perhaps a new CompressedGeometryStream class.

-- Mark Hood

===========================================================================
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".

Reply via email to