I have a web based Flex app in (domain A) that esentially needs to download files to the user's desktop FROM an external server (domain B). I use the Adobe FileReference class in order to do this. Now, I know I will need a crossdomain.xml file on the external server in domain B on order to establish trust between the Flex app and the download server. Ultimately I need any user in any domain to have access to the download server so the crossdomain file would need to specify:
But this will open up acess to the downloadble files to any flex app out there on the web . Is there a way to restrict access to just MY Flex app in the
thx in advance!
why do you need any user in any domain to have access?
Anyone using your web app will be in domain A. Unless you intend to distibute the swf for others to upload onto their servers (which woiuld be strange)
the domain is where its hosted
Yes you are right, I would only need to specify the domain that hosts the swf. I guess I over complicated this issue for myself. Thanks!