title: Flex - HTTPService - Security error accessing YouTube api
body: <p>I have the following HTTPService defined:</p>
  
  <pre><code>&lt;mx:HTTPService id="youTubeHttpService" result="resultHandler(event)" fault="faultHandler(event)"/&gt;
  </code></pre>
  
  <p>And I'm using the following URL (pattern) to obtain a list of YouTube videos for a particular user:</p>
  
  <pre><code>http://gdata.youtube.com/feeds/api/users/Y/uploads
  </code></pre>
  
  <p>where Y is a registered user on YouTube.</p>
  
  <p>Eg: <a href="http://gdata.youtube.com/feeds/api/users/YouTube/uploads" rel="nofollow">http://gdata.youtube.com/feeds/api/users/YouTube/uploads</a></p>
  
  <p>I send an HTTP request using the following syntax:</p>
  
  <pre><code>youTubeHttpService.url = "http://gdata.youtube.com/feeds/api/users/YouTube/uploads";
  youTubeHttpService.resultFormat = "object";
  youTubeHttpService.send();
  </code></pre>
  
  <p>Now, the above code works fine for <strong>some</strong> people using our software while others are experiencing the following error ( in faultHandler() ):</p>
  
  <pre><code>Error: [RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTP"] 
  </code></pre>
  
  <p>Again, the error happens to <strong>some</strong> people and not for others.</p>
  
  <p>Have I missed something?  Would it be a machine / browser specific problem?  As a sanity check the above code works with the same .swf file in chrome, ie, firefox and safari.</p>
  
  <p>I have read about the crossdomain.xml and don't think that is the issue as YouTube have that defined.</p>
  
  <p>Finally, all users (intranet app) are using IE and the same version of flash.</p>
  
  <p>Any help would be greatly appreciated as I have been pulling my hair out the past 2 days and asking the question over and over again "Why is it only happening for some users and not for other users?"</p>
  
  <p>Norm.</p>