Показать сообщение отдельно
Старый 15.09.2011, 15:20
dimarik вне форума Посмотреть профиль Отправить личное сообщение для dimarik Найти все сообщения от dimarik
  № 10  
Ответить с цитированием
dimarik
.
 
Аватар для dimarik

модератор форума
Регистрация: Sep 2003
Адрес: Москва
Сообщений: 4,630
Записей в блоге: 20
Цитата:
Сообщение от 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.
__________________
Воспитан в TimeZero. Работаю в Mail.ru.