Цитата:
Сообщение от Anton_sz
Спасибо, помогло. Остался еще один вопрос.
При помощи Security.loadPolicyFile("xmlsocket://test.ru:843"); я забираю файл политик. 843 порт слушает скрипт
|
Что-то мне нашептывает, что по 843 порту политики отдаются и без запроса и эту строчку можно исключить.
А да, вот оно в whitepaper.
Цитата:
Сообщение от http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/flashplayer/pdfs/flash_player_10_security.pdf
Security.loadPolicyFile()
A policy file allows administrators to grant an application read access to specific server locations (URL policy
files) or to specific port numbers (socket policy files). The default URL policy file is named crossdomain.xml
and is located in the root directory of the target server. The default socket policy file is served from port 843.
|