<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - [Concurrency] SecurityError when attempting to access a file from a worker</title>
    <link>https://forums.adobe.com/community/labs/archives/flashplayer11-4?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Mon, 10 Sep 2012 22:34:56 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2012-09-10T22:34:56Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: [Concurrency] SecurityError when attempting to access a file from a worker</title>
      <link>https://forums.adobe.com/message/4688380?tstart=0#4688380</link>
      <description>&lt;!-- [DocumentBodyStart:12e91c39-e06a-4852-9e49-87f5364ad7a7] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;You want to pass in the optional parameter of "true" to "createWorker".&amp;nbsp; The parameter controls whether the worker should be given application sandbox privileges in AIR.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;worker = WorkerDomain.current.createWorker(e.target.data, &lt;strong&gt;true&lt;/strong&gt;);&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;giveAppPrivileges:Boolean - indicates whether the worker should be given application sandbox privileges in AIR. This parameter is ignored in Flash Player&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;div&gt; &lt;/div&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:12e91c39-e06a-4852-9e49-87f5364ad7a7] --&gt;&lt;img src='/beacon?t=1415938759109' /&gt;</description>
      <pubDate>Mon, 10 Sep 2012 22:33:48 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4688380?tstart=0#4688380</guid>
      <dc:date>2012-09-10T22:33:48Z</dc:date>
      <clearspace:dateToText>2 years 2 months ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>[Concurrency] SecurityError when attempting to access a file from a worker</title>
      <link>https://forums.adobe.com/message/4621804?tstart=0#4621804</link>
      <description>&lt;!-- [DocumentBodyStart:39bf3a5d-98af-4121-9a49-e33acfd797c2] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I was working on encrypting some files in a worker using AIR, when I ran into this strange error...&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span style="font-family: 'andale mono', times; font-size: 8pt;"&gt;SecurityError #0 - file&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span style="font-family: 'andale mono', times; font-size: 8pt;"&gt;at FileWorker/onChannelMessage()[/Users/axon/Projects/Flash/WorkerFile/src/FileWorker.as:32]&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span style="font-family: 'andale mono', times; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at flash.system::MessageChannel/internalAddEventListener()&lt;/span&gt;&lt;/p&gt;&lt;p class="p1"&gt;&lt;span style="font-family: 'andale mono', times; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at flash.system::MessageChannel/addEventListener()&lt;/span&gt;&lt;/p&gt;&lt;p class="p1" style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This error triggers when simply placing some code to create a File class instance from a path in my background worker.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here is an awesome example of my issue: &lt;a class="jive-link-external-small" href="http://dl.dropbox.com/u/3866967/WorkerFile.zip" rel="nofollow"&gt;WorkerFile.zip&lt;/a&gt;&lt;/p&gt;&lt;p&gt;It's a Flash Builder 4.6 project&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;What I would like to know, is how do i open a file from a background worker? I didn't spot it on the not allowed list with the release notes, so I am baffled at this point.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any and all help is appreciated!&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Update: Filed a bug with bugbase.adobe.com&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:39bf3a5d-98af-4121-9a49-e33acfd797c2] --&gt;</description>
      <pubDate>Tue, 14 Aug 2012 23:38:55 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/4621804?tstart=0#4621804</guid>
      <dc:date>2012-08-14T23:38:55Z</dc:date>
      <clearspace:dateToText>2 years 3 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

