Matt Gerrans
Posts: 1153
Nickname: matt
Registered: Feb, 2002
|
|
Re: Java Security Question
|
Posted: Jun 6, 2002 11:32 AM
|
|
On the first question, the applet (or even a Java application, for that matter) will have no more security access than the logged on user (you) who is running it. This fact is controlled by the operating system and is beyond the JVM's sphere of influence. So unless you are an adminstrator, the applet or application will not be able to do system level things (but it will be able to wreak havok in your home directory, of course!).
As for the second one, I don't think the applet will be trusted unless you either modify the security policy to make it so, or make it a signed applet and then accept its signature.
I haven't fooled with it much, but a while back I looked at Java WebStart and it had another variation where an applet could modify only files that were opened through a special Open File dialog. I think this involves making WebStart a locally installed, trusted application and then it brokers this process.
I'm not an applet expert by any means, however, so you can take my opinions with a proverbial grain of salt (as always!).
|
|