Actionscript and .htaccess

Hello

I am trying to protect a XML file that my actionscript calls, but I cant get my .htaccess file to allow just the host to access it, and not the user.

are actionscript requests happening at the user level, or the host level?

TIA

celticvfx