This 許可 代表するs 接近 to a 網状組織 経由で sockets.
A SocketPermission consists of a host specification and a 始める,決める of 活動/戦闘s
明示するing ways to connect to that host. The host is 明示するd as
The host is 表明するd as a DNS 指名する, as a 数値/数字による IP 演説(する)/住所, or as
"localhost" (for the 地元の machine). The wildcard "*"
may be 含むd once
in a DNS 指名する host specification. If it is 含むd, it must be in the
leftmost position, as in "*.sun.com".
The port or portrange is optional. A port specification of the form "N-",
where N is a port number, signifies all ports numbered N and above,
while a specification of the form "-N" 示すs all ports numbered
N and below.
The possible ways to connect to the host are
受託する
connect
listen
解決する
The "listen" 活動/戦闘 is only meaningful when used with "localhost".
The "解決する" (解決する host/ip 指名する service lookups) 活動/戦闘 is 暗示するd when
any of the other 活動/戦闘s are 現在の.
As an example of the 創造 and meaning of SocketPermissions, 公式文書,認める that if
the に引き続いて 許可
is 認めるd, it 許すs that code to 受託する 関係s on, connect to, or listen
on any port between 1024 and 65535 on the 地元の host.
@attention
認めるing code 許可 to 受託する or make 関係s to remote hosts may be
dangerous because malevolent code can then more easily 移転 and 株
confidential data の中で parties who may not さもなければ have 接近 to the data.