SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Andrew Thompson
http://pscode.org/
Note also that sand-boxed applets can access the local file system using new functionality introduced to applets in Java 1.6.0_10.
Nam Ha wrote:
Note also that sand-boxed applets can access the local file system using new functionality introduced to applets in Java 1.6.0_10.
Really??? How is it possible in Java 1.6?
I have been thinking that accessing local file system is always restricted so we must sign or add permission to the applet.
Andrew Thompson
http://pscode.org/
Unsigned applets cannot perform the following operations:
They cannot access client resources such as the local filesystem, executable files, system clipboard, and printers.
They cannot connect to or retrieve resources from any third party server (any server other than the server it originated from).
They cannot load native libraries.
They cannot change the SecurityManager.
They cannot create a ClassLoader.
They cannot read certain system properties. See System Properties for a list of forbidden system properties.
Signed applets do not have the security restrictions that are imposed on unsigned applets and can run outside the security sandbox.
Nam Ha wrote:
Note also that sand-boxed applets can access the local file system using new functionality introduced to applets in Java 1.6.0_10.
Really??? How is it possible in Java 1.6?
I have been thinking that accessing local file system is always restricted so we must sign or add permission to the applet.
Nam Ha wrote:..I think you are confusing between Applets (they are embedded in web browsers) and Java Web Start JNLP (java programs that are downloaded on client computers and being executed as normal java programs). ...
Andrew Thompson
http://pscode.org/
Ulf Dittmer wrote:
While signing or changing permissions is not required for JNLP, the user must still consent to the action explicitly. So the principle still holds, even if the technicalities have changed.
Andrew Thompson
http://pscode.org/
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |