Тема: Lib_socket
Показать сообщение отдельно
Старый 03.12.2008, 00:00   #26
Fialka
AnyKey`щик
 
Регистрация: 20.10.2008
Сообщений: 7
Написано 0 полезных сообщений
(для 0 пользователей)
Ответ: Lib_socket

Вот че я накопал: (офф. описание про мою моторолу)
Untrusted applications will use the normal HttpConnection and HttpsConnection APIs
to access web and secure web services. There are no restrictions on web server port
numbers through these interfaces. The implementations augment the protocol so
that web servers can identify untrusted applications. The following will be implemented:
· The implementation of HttpConnection and HttpsConnection will include
a separate User-Agent header with the Product-Token
"UNTRUSTED/1.0".User-Agent headers supplied by the application will
not be deleted.
· The implementation of SocketConnection using TCP sockets will throw
java.lang.SecurityException when an untrusted MIDlet suite attempts to
connect on ports 80 and 8080 (http) and 443 (https).
· The implementation of SecureConnection using TCP sockets will throw
java.lang.SecurityException when an untrusted MIDlet suites attempts
to connect on port 443 (https).
· The implementation of the method DatagramConnection.send will throw
java.lang.SecurityException when an untrusted MIDlet suite attempts to
send datagrams to any of the ports 9200-9203 (WAP Gateway).
· The above requirements should be applied regardless of the API used to
access the network. For example, the
javax.microedition.io.Connector.open and
javax.microedition.media.Manager.createPlayer methods should throw
java.lang.SecurityException if access is attempted to these port
numbers through a means other than the normal HttpConnection and
HttpsConnection APIs.
(Offline)
 
Ответить с цитированием