vishnu viswanath
vishnu viswanath

Reputation: 3854

how JVM secures file access.?

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

Answers (1)

Peter Lawrey
Peter Lawrey

Reputation: 533432

Applets are run with a SecurityManager. This controls all the security sensitive operations.

Upvotes: 2

Related Questions