<?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: The Power BI Lock in Data Stories Gallery</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Stories-Gallery/The-Power-BI-Lock/m-p/369137#M1669</link>
    <description>&lt;P&gt;&lt;SPAN style="text-align: left; color: rgb(51, 51, 51); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: &amp;quot;Segoe UI&amp;quot;,&amp;quot;Segoe WP&amp;quot;,Tahoma,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; background-color: transparent; -webkit-text-stroke-width: 0px;"&gt;Interesting approach!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="text-align: left; color: rgb(51, 51, 51); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: &amp;quot;Segoe UI&amp;quot;,&amp;quot;Segoe WP&amp;quot;,Tahoma,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; background-color: transparent; -webkit-text-stroke-width: 0px;"&gt;IMO the access link is not necessary. Am I missing something?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 03 Mar 2018 13:58:08 GMT</pubDate>
    <dc:creator>FrankT</dc:creator>
    <dc:date>2018-03-03T13:58:08Z</dc:date>
    <item>
      <title>The Power BI Lock</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Stories-Gallery/The-Power-BI-Lock/m-p/351220#M1599</link>
      <description>&lt;P&gt;I've been thinking for some time about the &lt;STRONG&gt;Power BI Publish to Web&lt;/STRONG&gt; feature, but not being safe to keep your data there as the content will be public for someone who accidentally finds out the link. I have built a new feature called &lt;STRONG&gt;the Power BI Lock&lt;/STRONG&gt; to allow safer publishing to the web (only being able to view the actual report if holding a specific code).&amp;nbsp;Try out the live demo.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What is needed to build the Power BI Lock?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One &lt;STRONG&gt;Access check frontpage&lt;/STRONG&gt; with any number of slicers, having as many possible selections as you want (the more, the less likely someone accidentally finds out the correct key), from which the final Key value will be combined with:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;SELECTEDVALUE&lt;EM&gt;(Code1[Code1]) &amp;amp; &lt;/EM&gt;SELECTEDVALUE&lt;EM&gt;(Code2[Code2])&lt;/EM&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;One &lt;STRONG&gt;table&lt;/STRONG&gt; called &lt;STRONG&gt;Key_Control&lt;/STRONG&gt; with a row having the correct Code (&lt;STRONG&gt;Access_Key_Valid&lt;/STRONG&gt;). In this case, to make the link even lighter, we have a 2nd column called Access with just a 1. This Access will be linked to the remaining of the data model. I have also added here the image of the unlocked lock.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG class="alignnone wp-image-164" src="https://ip1.i.lithium.com/213b2ec89e7046a92e77970ca9d8bc46b5df91e4/687474703a2f2f61626f7574706f77657262692e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031382f30322f706f77657262695f6c6f636b5f6b65795f636f6e74726f6c2e6a7067" border="0" alt="" width="342" height="48" /&gt; &lt;IMG class="alignnone wp-image-165" src="https://ip1.i.lithium.com/9f4e2e603bfbdaddee2512072b35ce2447910eb3/687474703a2f2f61626f7574706f77657262692e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031382f30322f706f77657262695f6c6f636b5f6163636573732e6a7067" border="0" alt="" width="607" height="197" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Two measures in the same &lt;STRONG&gt;Key_Control&lt;/STRONG&gt;&amp;nbsp;table: One &lt;STRONG&gt;Access_Key_Selection&lt;/STRONG&gt; measure, which will validate if the combination from the N slicers matches your &lt;STRONG&gt;Access_Key_Valid&lt;/STRONG&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;EM&gt;Access_Key_Selection =&lt;/EM&gt; &lt;EM&gt;IF(&lt;/EM&gt; &lt;EM&gt;&amp;nbsp; &amp;nbsp;FIRSTNONBLANK(Key_Control[Access_Key_Valid];Key_Control[Access_Key_Valid]) =&lt;/EM&gt; &lt;EM&gt;&amp;nbsp; &amp;nbsp;SELECTEDVALUE(Code1[Code1]) &amp;amp; SELECTEDVALUE(Code2[Code2]);&lt;/EM&gt; &lt;EM&gt;&amp;nbsp; &amp;nbsp;FIRSTNONBLANK(Key_Control[Access_Key_Valid];Key_Control[Access_Key_Valid]);&lt;/EM&gt; &lt;EM&gt;&amp;nbsp; &amp;nbsp;BLANK()&lt;/EM&gt; &lt;EM&gt;)&lt;/EM&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One &lt;STRONG&gt;info measure&lt;/STRONG&gt;, which will show a message according to the code combination:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;EM&gt;Info =&lt;/EM&gt; &lt;EM&gt;&amp;nbsp; &amp;nbsp;if( SELECTEDVALUE(Code1[Code1]) = blank(); "Select the correct combination to have access to the Report";&lt;/EM&gt; &lt;EM&gt;&amp;nbsp; &amp;nbsp;if( SELECTEDVALUE(Code2[Code2]) = blank(); "Select the correct combination to have access to the Report";&lt;/EM&gt; &lt;EM&gt;&amp;nbsp; &amp;nbsp;if( CONCATENATE(SELECTEDVALUE(Code1[Code1]);SELECTEDVALUE(Code2[Code2]))="B202"; "Unlocked! Right click the code and drill through Report to proceed!";&lt;/EM&gt; &lt;EM&gt;&amp;nbsp; &amp;nbsp;"Wrong Code! Try again!"&lt;/EM&gt; &lt;EM&gt;)))&lt;/EM&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Adding the &lt;STRONG&gt;Access_Key_Valid&lt;/STRONG&gt; as a&lt;STRONG&gt; Drillthrough filter&lt;/STRONG&gt; on the hidden report page&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG class="alignnone size-full wp-image-167" src="https://ip1.i.lithium.com/e845b8d01c49a1245323cca29a81a88f7f1cdb44/687474703a2f2f61626f7574706f77657262692e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031382f30322f706f77657262695f6c6f636b5f6472696c6c7468726f7567682e6a7067" border="0" alt="" width="181" height="271" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The &lt;STRONG&gt;Lock / Unlocked&lt;/STRONG&gt; effect is done by placing the locked image underneath the unlocked image and access code in the shape of a matrix visual (to allow the drill through ability)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG class="alignnone wp-image-168" src="https://ip1.i.lithium.com/02836c7ba8c78e5fea327db5a9f19ce42b77f3b8/687474703a2f2f61626f7574706f77657262692e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031382f30322f706f77657262695f6c6f636b5f6c6f636b5f756e6c6f636b5f6566666563742e6a7067" border="0" alt="" width="494" height="342" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://aboutpowerbi.com/wp-content/uploads/2018/02/powerbi_lock_howtobuild.gif" target="_blank"&gt;Wrapping all up on a quick animated overview&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Future work: I am thinking about building a version with only one keypad for typing the complete code, and also using other options for the link between the pages like bookmarks, not sure if possible though. Do you have specific cases or applications where this can be useful? Do you have other ideas to reach the same result?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;@ 2018 by Pedro Reis&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="reportid hidden"&gt;eyJrIjoiN2NkYmY5ZTItYzE4MC00MjliLTkwOWYtYTRmODg3ZDA3NzM2IiwidCI6IjkyYjU0NGFhLTZiY2QtNGNmNi04MmRmLWM5MDY4OWRkNDY2NSIsImMiOjh9&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 11:19:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Stories-Gallery/The-Power-BI-Lock/m-p/351220#M1599</guid>
      <dc:creator>PowerAnalytics</dc:creator>
      <dc:date>2018-02-05T11:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: The Power BI Lock</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Stories-Gallery/The-Power-BI-Lock/m-p/359499#M1636</link>
      <description>&lt;P&gt;This is a creative idea and could be a fun way to "lock down" a report with public data. While it might stop the majority of people from accessing the publish to web content, readers should be aware that it's not truly secure. The access key appears in a few places behind the scenes if you know where to look (and not simply because it's in the visual textbox). Only use Publish to Web with PUBLIC data.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 11:38:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Stories-Gallery/The-Power-BI-Lock/m-p/359499#M1636</guid>
      <dc:creator>deldersveld</dc:creator>
      <dc:date>2018-02-16T11:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: The Power BI Lock</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Stories-Gallery/The-Power-BI-Lock/m-p/360154#M1644</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class=""&gt;&lt;A id="link_13" class="lia-link-navigation lia-page-link lia-user-name-link" title="" href="https://community.powerbi.com/t5/user/viewprofilepage/user-id/170" target="_self"&gt;deldersveld&lt;/A&gt;!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Indeed, I had already tested with some of my security colleagues, and the Key appears in the HMTL properties if it is selected.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;In this POC example you actually know the key and hence when selected you can identify the property that contains it, but otherwise, I have tested it and it will not show up because it depends on the underlying context of a measure.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Not knowing the key you can test all the keys via brute force and it will show a different property once the correct combination is selected. But is it manageable to brute force attack if I setup 3 slicers with&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;1 million combinations of 3 slicers&amp;nbsp;each?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I am curious to&amp;nbsp;know is if the Power BI server allow such brute force attacks or are they cut out after a few attempts?&lt;/P&gt;</description>
      <pubDate>Sun, 18 Feb 2018 20:20:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Stories-Gallery/The-Power-BI-Lock/m-p/360154#M1644</guid>
      <dc:creator>PowerAnalytics</dc:creator>
      <dc:date>2018-02-18T20:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: The Power BI Lock</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Stories-Gallery/The-Power-BI-Lock/m-p/369137#M1669</link>
      <description>&lt;P&gt;&lt;SPAN style="text-align: left; color: rgb(51, 51, 51); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: &amp;quot;Segoe UI&amp;quot;,&amp;quot;Segoe WP&amp;quot;,Tahoma,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; background-color: transparent; -webkit-text-stroke-width: 0px;"&gt;Interesting approach!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="text-align: left; color: rgb(51, 51, 51); text-transform: none; text-indent: 0px; letter-spacing: normal; font-family: &amp;quot;Segoe UI&amp;quot;,&amp;quot;Segoe WP&amp;quot;,Tahoma,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; word-spacing: 0px; float: none; display: inline !important; white-space: normal; orphans: 2; background-color: transparent; -webkit-text-stroke-width: 0px;"&gt;IMO the access link is not necessary. Am I missing something?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Mar 2018 13:58:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Stories-Gallery/The-Power-BI-Lock/m-p/369137#M1669</guid>
      <dc:creator>FrankT</dc:creator>
      <dc:date>2018-03-03T13:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: The Power BI Lock</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Stories-Gallery/The-Power-BI-Lock/m-p/369258#M1671</link>
      <description>&lt;P&gt;Hi Frank!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What do you mean by the access link? B202?&lt;/P&gt;</description>
      <pubDate>Sun, 04 Mar 2018 11:18:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Stories-Gallery/The-Power-BI-Lock/m-p/369258#M1671</guid>
      <dc:creator>PowerAnalytics</dc:creator>
      <dc:date>2018-03-04T11:18:45Z</dc:date>
    </item>
  </channel>
</rss>

