<?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 Re: How Embedding Power BI report in custom application is secured? in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/How-Embedding-Power-BI-report-in-custom-application-is-secured/m-p/125382#M4341</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="6643" data-lia-user-login="daxesh" class="lia-mention lia-mention-user"&gt;daxesh&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;You could see the accesstoken in client end either via postMessage or via Javascript API. By default the accesstoken would expire in one hour.&lt;BR /&gt;&lt;BR /&gt;As to the security concern, when embedding a report via the REST API, before the access token is generated, it actually requires you to login in a pop-up window, you'll have to type your account and password.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Feb 2017 07:01:45 GMT</pubDate>
    <dc:creator>Eric_Zhang</dc:creator>
    <dc:date>2017-02-10T07:01:45Z</dc:date>
    <item>
      <title>How Embedding Power BI report in custom application is secured?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-Embedding-Power-BI-report-in-custom-application-is-secured/m-p/124715#M4304</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am embedding Power BI report in web&amp;nbsp;application using Power BI rest Apis&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Refedrred this link :&lt;/P&gt;&lt;P&gt;&lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-integrate-report/" target="_blank"&gt;https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-integrate-report/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Getting a access token from auth2 grant flow seems secure as it had been implemented on server side using C# code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when report needs to be embed in iframe i had to fetch reportid , embedurl and accesstoken on javascript side while performing postMessage() on iframe.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it needs to be done on client side , How is it secure to embed report this way ?&lt;/P&gt;&lt;P&gt;Please explain.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another thing i need to ask is regarding Power BI - Javascript APis.&lt;/P&gt;&lt;P&gt;This way of embedding the same way that reportid , accesstoken and embedurl needs to be configure in configration settings&lt;/P&gt;&lt;P&gt;Please refer documentation&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-Configuration-Details" target="_blank"&gt;https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-Configuration-Details&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then how is it secure if it is on client side.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 05:26:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-Embedding-Power-BI-report-in-custom-application-is-secured/m-p/124715#M4304</guid>
      <dc:creator>daxesh</dc:creator>
      <dc:date>2017-02-09T05:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: How Embedding Power BI report in custom application is secured?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/How-Embedding-Power-BI-report-in-custom-application-is-secured/m-p/125382#M4341</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="6643" data-lia-user-login="daxesh" class="lia-mention lia-mention-user"&gt;daxesh&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;You could see the accesstoken in client end either via postMessage or via Javascript API. By default the accesstoken would expire in one hour.&lt;BR /&gt;&lt;BR /&gt;As to the security concern, when embedding a report via the REST API, before the access token is generated, it actually requires you to login in a pop-up window, you'll have to type your account and password.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 07:01:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/How-Embedding-Power-BI-report-in-custom-application-is-secured/m-p/125382#M4341</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-02-10T07:01:45Z</dc:date>
    </item>
  </channel>
</rss>

