Trust-based security for Java is a cross-platform security model that provides fine-grained administration of the permissions granted to Java applets and libraries. This permission model provides control over what a Java class can do by providing a way to associate a set of permissions with a class. Encoding the permission set in the digital signature allows the Microsoft virtual machine to present the end user with a dialog box that lists the requested permissions so that the user can decide whether to trust the applet. For more information, see Security.
The following security samples are provided.
Sample | Description |
Custom Permissions | Location: \Samples\Security\Custom
Technologies: Security Demonstrates:
|
Classloader Security | Location: \Samples\Security\Loader
Technologies: Security Demonstrates:
|
COM Security | Location: \Samples\Com\Security_com
Technologies: COM, security Demonstrates:
|
RNI Security | Location: \Samples\Security\Rni
Technologies: Security, RNI Demonstrates:
|
INI Files for Java Code Signing | Location: \Samples\Security\sign
Technologies: Security, code signing, scripting Demonstrates:
|