Applets security restrictions

Q.  Which are the common security restrictions in applets?
- Published on 19 Oct 15

a. Applets can't load libraries or define native methods
b. An applet can't read every system property
c. Applets can play sounds
d. Both A & B

ANSWER: Both A & B
 

    Discussion

  • Nirja Shah   -Posted on 15 Dec 15
    The common security restrictions of applet are as follows:

    1. Applets can't load libraries or define native methods.
    2. An applet can't ordinarily read or write files on the host that's executing it.
    3. An applet can't make network connections except to the host that it came from.
    4. An applet can't start any program on the host that's executing it.
    5. An applet can't read every system property.
    6. Windows that an applet brings up look different than windows that an application brings up.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)