# Security issues on Audio Stream

**URL:** <https://forum.kirupa.com/t/security-issues-on-audio-stream/260649>\
**Category:** flash\
**Created:** [May 18, 2008, 3:46am UTC](https://forum.kirupa.com/t/security-issues-on-audio-stream/260649 "2008-05-18T03:46:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ikinsey](https://avatars.discourse-cdn.com/v4/letter/i/f14d63/32.png) [@Ikinsey](https://forum.kirupa.com/u/Ikinsey)\
**Post date:** [May 18, 2008, 3:46am UTC](https://forum.kirupa.com/t/security-issues-on-audio-stream/260649/1 "2008-05-18T03:46:54Z")

</div>

I’m writing a streaming audio player in flex for a client of mine. Everything is going fine except for the security issues.

I’m using computeSpectrum to draw a sound channel visualization and that function is one of the one’s flash security limits without proper use of a crossdomain file.

Basically its set up on two servers. [www.clientswebsite.com/somedirectory/AudioPlayer.html](http://www.clientswebsite.com/somedirectory/AudioPlayer.html) is the page with my .swf.

[streamstation.clientswebsite.com](http://streamstation.clientswebsite.com) is a server with shoutcast set up. I had my client install IIS on port 80 so now theres a crossdomain file at [streamstation.clientswebsite.com/crossdomain.xml](http://streamstation.clientswebsite.com/crossdomain.xml).

The file is on the up and up:

[COLOR=#0000ff]\<[/COLOR][COLOR=#990000]cross-domain-policy[/COLOR][COLOR=#0000ff]\>[/COLOR]  
**[FONT=Courier New][COLOR=#ff0000] [/COLOR][/FONT]** [COLOR=#0000ff]\<[/COLOR][COLOR=#990000]site-control[/COLOR] [COLOR=#990000]permitted-cross-domain-policies[/COLOR][COLOR=#0000ff]="[/COLOR] **master-only** [COLOR=#0000ff]" /\>[/COLOR]

**[FONT=Courier New][COLOR=#ff0000] [/COLOR][/FONT]** [COLOR=#0000ff]\<[/COLOR][COLOR=#990000]allow-access-from[/COLOR] [COLOR=#990000]domain[/COLOR][COLOR=#0000ff]="[/COLOR]\*\*\*\*\*[COLOR=#0000ff]" /\>[/COLOR]

[COLOR=#0000ff]\</[/COLOR][COLOR=#990000]cross-domain-policy[/COLOR][COLOR=#0000ff]\>[/COLOR]  
[COLOR=#0000ff][/COLOR]  
[COLOR=black]but for some reason I still get security issues poping up in my debug flash player.[/COLOR]

I am not at all a server or hardware guy, I’m a humble flash developer and this security issue has me stumped. So, I would greatly appreciate any advice you guys have.

---

<div class="post-metadata">

**Author:** ![Ikinsey](https://avatars.discourse-cdn.com/v4/letter/i/f14d63/32.png) [@Ikinsey](https://forum.kirupa.com/u/Ikinsey)\
**Post date:** [May 18, 2008, 3:47am UTC](https://forum.kirupa.com/t/security-issues-on-audio-stream/260649/2 "2008-05-18T03:47:24Z")

</div>

Also, if its relevant, I’m developing this in Flex 3.

---

<div class="post-metadata">

**Author:** ![Ikinsey](https://avatars.discourse-cdn.com/v4/letter/i/f14d63/32.png) [@Ikinsey](https://forum.kirupa.com/u/Ikinsey)\
**Post date:** [May 19, 2008, 1:33am UTC](https://forum.kirupa.com/t/security-issues-on-audio-stream/260649/3 "2008-05-19T01:33:18Z")

</div>

Any help at all would be greatly appreciated.
