<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Error - Request was denied for Security in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Error-Request-was-denied-for-Security/m-p/1104960#M70142</link>
    <description>&lt;P&gt;Hi Guys&lt;/P&gt;

&lt;P&gt;I am having an issue with my app once its built and deployed onto a physical device. All the AJAX calls work fine in the emulator and app preview but I am getting the "Request was denied for Security" error. Its starting to drive me slightly insane! So any help would be greatfully received...&lt;/P&gt;

&lt;P&gt;I've got all these included:&lt;/P&gt;

&lt;PRE class="brush:xml;"&gt;&amp;lt;access origin="*"/&amp;gt;
&amp;lt;allow-intent href="http://*/*"/&amp;gt;
&amp;lt;allow-intent href="https://*/*"/&amp;gt;
&amp;lt;allow-intent href="tel:*"/&amp;gt;
&amp;lt;allow-intent href="sms:*"/&amp;gt;
&amp;lt;allow-intent href="mailto:*"/&amp;gt;
&amp;lt;allow-intent href="geo:*"/&amp;gt;
&amp;lt;allow-intent href="market:*"/&amp;gt;
&amp;lt;allow-intent href="*"/&amp;gt;
&amp;lt;allow-navigation href="https://*/*"/&amp;gt;
&amp;lt;allow-navigation href="http://*/*"/&amp;gt;
&amp;lt;allow-navigation href="data:*"/&amp;gt;
&amp;lt;allow-navigation href="*"/&amp;gt;&lt;/PRE&gt;

&lt;P&gt;I've also tried this CSP tag&lt;/P&gt;

&lt;PRE class="brush:xml;"&gt;&amp;lt;meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-eval' data: blob: filesystem: ws: gap: file: cdvfile: &lt;A href="https://ssl.gstatic.com" target="_blank"&gt;https://ssl.gstatic.com&lt;/A&gt; *; style-src * 'unsafe-inline'; script-src * 'unsafe-inline' 'unsafe-eval'; img-src * data: 'unsafe-inline'; connect-src * 'unsafe-inline'; child-src *; "&amp;gt;&lt;/PRE&gt;

&lt;P&gt;I've got very little hair as it is, and I am quickly losing more ;)&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;

&lt;P&gt;Jamie&lt;/P&gt;</description>
    <pubDate>Fri, 12 May 2017 05:53:49 GMT</pubDate>
    <dc:creator>Jamie_C_</dc:creator>
    <dc:date>2017-05-12T05:53:49Z</dc:date>
    <item>
      <title>Error - Request was denied for Security</title>
      <link>https://community.intel.com/t5/Software-Archive/Error-Request-was-denied-for-Security/m-p/1104960#M70142</link>
      <description>&lt;P&gt;Hi Guys&lt;/P&gt;

&lt;P&gt;I am having an issue with my app once its built and deployed onto a physical device. All the AJAX calls work fine in the emulator and app preview but I am getting the "Request was denied for Security" error. Its starting to drive me slightly insane! So any help would be greatfully received...&lt;/P&gt;

&lt;P&gt;I've got all these included:&lt;/P&gt;

&lt;PRE class="brush:xml;"&gt;&amp;lt;access origin="*"/&amp;gt;
&amp;lt;allow-intent href="http://*/*"/&amp;gt;
&amp;lt;allow-intent href="https://*/*"/&amp;gt;
&amp;lt;allow-intent href="tel:*"/&amp;gt;
&amp;lt;allow-intent href="sms:*"/&amp;gt;
&amp;lt;allow-intent href="mailto:*"/&amp;gt;
&amp;lt;allow-intent href="geo:*"/&amp;gt;
&amp;lt;allow-intent href="market:*"/&amp;gt;
&amp;lt;allow-intent href="*"/&amp;gt;
&amp;lt;allow-navigation href="https://*/*"/&amp;gt;
&amp;lt;allow-navigation href="http://*/*"/&amp;gt;
&amp;lt;allow-navigation href="data:*"/&amp;gt;
&amp;lt;allow-navigation href="*"/&amp;gt;&lt;/PRE&gt;

&lt;P&gt;I've also tried this CSP tag&lt;/P&gt;

&lt;PRE class="brush:xml;"&gt;&amp;lt;meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-eval' data: blob: filesystem: ws: gap: file: cdvfile: &lt;A href="https://ssl.gstatic.com" target="_blank"&gt;https://ssl.gstatic.com&lt;/A&gt; *; style-src * 'unsafe-inline'; script-src * 'unsafe-inline' 'unsafe-eval'; img-src * data: 'unsafe-inline'; connect-src * 'unsafe-inline'; child-src *; "&amp;gt;&lt;/PRE&gt;

&lt;P&gt;I've got very little hair as it is, and I am quickly losing more ;)&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;

&lt;P&gt;Jamie&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 05:53:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error-Request-was-denied-for-Security/m-p/1104960#M70142</guid>
      <dc:creator>Jamie_C_</dc:creator>
      <dc:date>2017-05-12T05:53:49Z</dc:date>
    </item>
    <item>
      <title>Try removing the CSP rule</title>
      <link>https://community.intel.com/t5/Software-Archive/Error-Request-was-denied-for-Security/m-p/1104961#M70143</link>
      <description>&lt;P&gt;Try removing the CSP rule from your index.html and rely only on the whitelist rules. Also, try debugging with a built app on your device, using the remote CDT technique described here &amp;gt; &lt;A href="https://software.intel.com/en-us/xdk/docs/using-remote-chrome-devtools-to-debug-android-cordova-apps" target="_blank"&gt;https://software.intel.com/en-us/xdk/docs/using-remote-chrome-devtools-to-debug-android-cordova-apps&lt;/A&gt; &amp;lt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 19:42:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error-Request-was-denied-for-Security/m-p/1104961#M70143</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2017-05-12T19:42:58Z</dc:date>
    </item>
    <item>
      <title>If removing the CSP rule</title>
      <link>https://community.intel.com/t5/Software-Archive/Error-Request-was-denied-for-Security/m-p/1104962#M70144</link>
      <description>&lt;P&gt;If removing the CSP rule doesn't work, see also the CSP rule that this guy used &amp;gt; &lt;A href="https://software.intel.com/en-us/forums/intel-xdk/topic/721783#comment-1901658" target="_blank"&gt;https://software.intel.com/en-us/forums/intel-xdk/topic/721783#comment-1901658&lt;/A&gt; &amp;lt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 19:43:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error-Request-was-denied-for-Security/m-p/1104962#M70144</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2017-05-12T19:43:58Z</dc:date>
    </item>
    <item>
      <title>Thanks for the reply Paul,</title>
      <link>https://community.intel.com/t5/Software-Archive/Error-Request-was-denied-for-Security/m-p/1104963#M70145</link>
      <description>&lt;P&gt;Thanks for the reply Paul, but still having no joy. I removed the CSP, and just re-tried with the basic included whitelisting and that didn't work. So I then tried with the CSP rule from the other thread and still no joy :(&lt;/P&gt;

&lt;P&gt;Remote debugging isn't detecting the device, lookd like some driver issues. Any other ideas?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 22:53:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error-Request-was-denied-for-Security/m-p/1104963#M70145</guid>
      <dc:creator>Jamie_C_</dc:creator>
      <dc:date>2017-05-12T22:53:32Z</dc:date>
    </item>
    <item>
      <title>Just looking into this a</title>
      <link>https://community.intel.com/t5/Software-Archive/Error-Request-was-denied-for-Security/m-p/1104964#M70146</link>
      <description>&lt;P&gt;Just looking into this a little bit more, but an AJAX call works to a different server ok, just not to my own API server. But the calls work ok to my API in the emulator and app preview. There arent any SSL error's the certificate looks ok.&lt;/P&gt;</description>
      <pubDate>Fri, 12 May 2017 23:55:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error-Request-was-denied-for-Security/m-p/1104964#M70146</guid>
      <dc:creator>Jamie_C_</dc:creator>
      <dc:date>2017-05-12T23:55:36Z</dc:date>
    </item>
    <item>
      <title>I have managed to resolve the</title>
      <link>https://community.intel.com/t5/Software-Archive/Error-Request-was-denied-for-Security/m-p/1104965#M70147</link>
      <description>&lt;P&gt;I have managed to resolve the issue by including the plugin below:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://github.com/danjarvis/cordova-plugin-crosswalk-certificate" target="_blank"&gt;https://github.com/danjarvis/cordova-plugin-crosswalk-certificate&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps someone else&lt;/P&gt;</description>
      <pubDate>Sat, 13 May 2017 01:04:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Error-Request-was-denied-for-Security/m-p/1104965#M70147</guid>
      <dc:creator>Jamie_C_</dc:creator>
      <dc:date>2017-05-13T01:04:09Z</dc:date>
    </item>
  </channel>
</rss>

