<?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 embedded javascript security risk question in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/embedded-javascript-security-risk-question/m-p/2558814#M36498</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've gotte embedding with a capacity working.&lt;/P&gt;&lt;P&gt;I check to see what user is logged in and create a filter to pass through the javascirpt API.&lt;/P&gt;&lt;P&gt;Power BI works great shows charts with filtering etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm now concerned about the security implications.&lt;/P&gt;&lt;P&gt;If I load the page and then view page source, I see the javasciprt with the access and embed tokens, as well as my filters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems like someone had access to the page, they could just take the page source, and change filters and create a new page that would give them access to other data (not allowed based on their own filters).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing something?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't want to use Row Level Security, because we manage users and persmissions in web app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 04 Jun 2022 03:59:52 GMT</pubDate>
    <dc:creator>rnehrboss</dc:creator>
    <dc:date>2022-06-04T03:59:52Z</dc:date>
    <item>
      <title>embedded javascript security risk question</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/embedded-javascript-security-risk-question/m-p/2558814#M36498</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've gotte embedding with a capacity working.&lt;/P&gt;&lt;P&gt;I check to see what user is logged in and create a filter to pass through the javascirpt API.&lt;/P&gt;&lt;P&gt;Power BI works great shows charts with filtering etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm now concerned about the security implications.&lt;/P&gt;&lt;P&gt;If I load the page and then view page source, I see the javasciprt with the access and embed tokens, as well as my filters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems like someone had access to the page, they could just take the page source, and change filters and create a new page that would give them access to other data (not allowed based on their own filters).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing something?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't want to use Row Level Security, because we manage users and persmissions in web app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jun 2022 03:59:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/embedded-javascript-security-risk-question/m-p/2558814#M36498</guid>
      <dc:creator>rnehrboss</dc:creator>
      <dc:date>2022-06-04T03:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: embedded javascript security risk question</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/embedded-javascript-security-risk-question/m-p/2559063#M36501</link>
      <description>&lt;P&gt;anyone knowlegable on this?&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jun 2022 20:13:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/embedded-javascript-security-risk-question/m-p/2559063#M36501</guid>
      <dc:creator>rnehrboss</dc:creator>
      <dc:date>2022-06-04T20:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: embedded javascript security risk question</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/embedded-javascript-security-risk-question/m-p/2562601#M36537</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/229746"&gt;@rnehrboss&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem is that different users will get the same token. For the dataset, the kind of data it can give to the user is based on the token.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want different users to get different tokens with different permissions, then there are only two ways to do that according to the official documentation.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;If you are handling data from multiple customers, consider these two approaches for securing your data:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-multi-tenancy" data-linktype="relative-path" target="_blank"&gt;&lt;EM&gt;Workspace-based isolation&lt;/EM&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded/embedded-row-level-security" data-linktype="relative-path" target="_blank"&gt;&lt;EM&gt;Row-level security-based isolation&lt;/EM&gt;&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For more details, you can refer this link.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/embedded/generate-embed-token#securing-your-data" target="_blank"&gt;Generate an embed token in Power BI embedded analytics - Power BI | Microsoft Docs&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Community Support Team _ chenwu zhu&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 03:12:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/embedded-javascript-security-risk-question/m-p/2562601#M36537</guid>
      <dc:creator>v-chenwuz-msft</dc:creator>
      <dc:date>2022-06-07T03:12:07Z</dc:date>
    </item>
  </channel>
</rss>

