Reputation: 11003
I'm going to develope some Applets, And I was wondering What an Applet can and cannot do.
I know that an Applet can't write in the Registry or Windows folders.
Do you know other things ?
Thanks
Upvotes: 1
Views: 448
Reputation: 404
Official docs http://download.oracle.com/javase/tutorial/deployment/applet/security.html
Much of it depends on whether you signed it or not.
There is one omission i know of in that....
Java AWT Robots are tricky since they give keyboard/mouse access to the applet. You can do it, but trust from the user alone doesnt cut it. In this case you need to set your own custom security manager to grant permission to create a Robot
Edited for correctness based on comments, thanks guys
Upvotes: 3
Reputation: 11058
Actually a signed applet can access the Windows registry through JNI calls.
For more info on the applet capabilities get a look at http://en.wikipedia.org/wiki/Java_applet
Upvotes: 1