What are difference between trusted and untrusted applet?
Note : This is the question asked by a visitor bala. I am posting this in proper forum.
Printable View
What are difference between trusted and untrusted applet?
Note : This is the question asked by a visitor bala. I am posting this in proper forum.
In general, applets loaded over the net are prevented from accessing files on the client machine, and from making network connections except to the host originating the applet.
In addition, applets loaded over the network are prevented from starting other programs on the client. Applets loaded over the network are also not allowed to load libraries, or to define native method calls, providing accessing to the underlying computer.
On the other hand, trusted applets can be permitted to do all that. The trust model in Java allows you to enable only certain operations, so it is possible that you enable network connections to/from anywhere but don't permit access to the local file system.
----------------------------
suresh