Table 6-1. Java permission classes
Permission class
|
Description
|
---|
java.security.AllPermission
|
An instance of this special permission class implies all other
permissions.
|
javax.sound.sampled.AudioPermission
|
Controls the ability to play and record sound.
|
javax.security.auth.AuthPermission
|
Controls access to authentication methods in
javax.security.auth and its subpackages.
|
java.awt.AWTPermission
|
Controls access to sensitive methods in java.awt
and its subpackages.
|
java.io.FilePermission
|
Governs access to the filesystem.
|
java.util.logging.LoggingPermission
|
Controls the ability of a program to modify the logging configuration.
|
java.net.NetPermission
|
Governs access to networking-related resources such as stream
handlers and HTTP authentication. See also
java.net.SocketPermission.
|
java.util.PropertyPermission
|
Governs access to system properties.
|
java.lang.reflect.ReflectPermission
|
Governs access through the java.lang.reflect
package to classes and class members that would normally be
inaccessible.
|
java.lang.RuntimePermission
|
Governs access to a number of methods and resources. Many of the
controlled methods are defined by java.lang.System
and java.lang.Runtime.
|
java.security.SecurityPermission
|
Governs access to various security-related methods.
|
java.io.SerializablePermission
|
Governs access to serialization-related methods.
|
java.net.SocketPermission
|
Governs access to the network.
|
java.sql.SQLPermission
|
Governs the ability to specify logging streams in the
java.sql JDBC API.
|