Security files are served from the socket on the server side. You don't need to change flex code for that. Well, they are not precisely files, they are the content of the security file being sent over the socket in response to <policy-file-request/>. For more info see this: http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html
- [flexcoders] Flex and "Socket policy file"? markflex2007
- Re: [flexcoders] Flex and "Socket policy file"... Oleg Sivokon