If an applet is signed but the usePolicy is not defined in the java.policy, will the user be prompted to allow all permissions to be granted to the applet or will this be done without prompting the user
That's not entirely true, a signed applets doesnt have necessary all the permissions. Signed applet just means it is a trusted code and can run outside the sandbox.
However the trusted code still has to comply to the rules defined in the security manager in the JVM, if it doent the operation will just be denied.
An exception is thrown, the user is not prompted.
SCJP 5 , SCWCD 5, SCEA 5
posted 7 years ago
1 other question on this. If an applet is not signed but loaded from local directory it runs outside of the sandbox, right?
Tell me how it all turns out. Here is a tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database