Reputation: 3854
How does JVM secures file access from the application.
Suppose we downloaded an applet and we are running it from user with admin privilege. And suppose it was written in such a way that it will delete some important files from your system Will JVM prevent these operations by default?
Thanks
Upvotes: 0
Views: 147
Reputation: 533432
Applets are run with a SecurityManager. This controls all the security sensitive operations.
Upvotes: 2