Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

can it execute programs on my computer ?

share|improve this question
    
How to stopped applet from interruting my games . The applet shut down my game. I want it to stopped messing up my games. –  user76910 Apr 16 '11 at 21:02
add comment

migrated from stackoverflow.com Feb 7 '10 at 8:48

This question came from our site for professional and enthusiast programmers.

closed as not a real question by Sathya Mar 10 '12 at 14:35

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

2 Answers

Only if either:

  • You explicitly grant the applet increased rights (this also requires the applet to be cryptographically signed, which in theory allows you to find out who wrote it and sue them when it turns out to be damaging)
  • Your JVM or Java browser plugin has a security hole that the applet exploits - unfortunately in recent years there has been a constant stream of such security holes being found.
share|improve this answer
    
(You can cryptographically sign your jars with a completely made up certificate. The users will see a differently coloured dialog.) –  Tom Hawtin - tackline Feb 16 '10 at 23:53
add comment

No. Java has a built in security mechanism will prevents applets from performing certain method calls. See the documentation for Runtime#exec(), for example.

share|improve this answer
add comment