# FileReference throws Error on domain with htpasswd

**URL:** <https://forum.kirupa.com/t/filereference-throws-error-on-domain-with-htpasswd/319221>\
**Category:** flash\
**Created:** [February 12, 2011, 11:33pm UTC](https://forum.kirupa.com/t/filereference-throws-error-on-domain-with-htpasswd/319221 "2011-02-12T23:33:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![creatify](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@creatify](https://forum.kirupa.com/u/creatify)\
**Post date:** [February 12, 2011, 11:33pm UTC](https://forum.kirupa.com/t/filereference-throws-error-on-domain-with-htpasswd/319221/1 "2011-02-12T23:33:06Z")

</div>

I’d never used FileReference on a domain protected by htaccess and htpasswd. I’m getting I/O and Stream errors when my SWF is hitting those PHP scripts. I know I can host the PHP on an unprotected domain, but I’d prefer not to do that.

Is there a Security item I can use to get past the Errors, or maybe something in the PHP?

Thanks.
