<?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 Yet another sheet access protection in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Yet-another-sheet-access-protection/m-p/1675934#M51374</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been working hours to try to hide a sheet from an app containing a Vizlib extension (as all users don't have access to it.&lt;/P&gt;&lt;P&gt;I've been reading &lt;A href="https://community.qlik.com/t5/Qlik-Sense-Documents-Videos/Sheet-or-App-Object-Level-Security-Qlik-Sense/ta-p/1485114" target="_blank" rel="noopener"&gt;Qlik article&lt;/A&gt; and also&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16339"&gt;@rohitk1609&lt;/a&gt;&amp;nbsp;posts and &lt;A href="https://community.qlik.com/t5/Qlik-Sense-Documents-Videos/Sheet-or-App-Object-Level-Security-Qlik-Sense/ta-p/1485114" target="_blank" rel="noopener"&gt;white paper&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;I have also gone through a very &lt;A href="https://www.youtube.com/watch?v=feSaaJZ7Jco" target="_blank" rel="noopener"&gt;good video&lt;/A&gt; explaning also how to create a new stream and use custom properties.&lt;/P&gt;&lt;P&gt;Nevertheless, I want to keep working off my everyone stream in which I have 3 apps : Target, Volumes and test.&lt;/P&gt;&lt;P&gt;In test (duplicate of volumes), I have 12 sheets and one of them is called VIZLIB and I would like to give access to this sheet only to 10 users.&lt;/P&gt;&lt;P&gt;I'm the owner of Volumes and test. I'm not the owner of Targets. Users are managed through AD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have disabled the original Stream:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="2020-02-15 01_14_18-Security rules - QMC.jpg" style="width: 482px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28465i9B8160868D232D38/image-dimensions/482x59?v=v2" width="482" height="59" role="button" title="2020-02-15 01_14_18-Security rules - QMC.jpg" alt="2020-02-15 01_14_18-Security rules - QMC.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(if I disable StreamEveryone then the everyone stream disappears - conditions =&amp;nbsp;!user.IsAnonymous())&lt;/P&gt;&lt;P&gt;I have then created a new security rule and tried to hide test to myself (before trying to hide the sheet VIZLIB in it).&lt;/P&gt;&lt;P&gt;The condition is :&lt;/P&gt;&lt;P&gt;(resource.resourcetype = "App" and resource.stream.HasPrivilege("read")) or (((resource.resourcetype = "App.Object" and (resource.published ="true" and RESOURCE.NAME = "test")) and&lt;BR /&gt;(user.Name = "My Name") and resource.app.stream.HasPrivilege("read")))&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="2020-02-15 01_16_55-Edit security rule - QMC.jpg" style="width: 252px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28466i72AC6E2E8BDB8C4C/image-dimensions/252x156?v=v2" width="252" height="156" role="button" title="2020-02-15 01_16_55-Edit security rule - QMC.jpg" alt="2020-02-15 01_16_55-Edit security rule - QMC.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The only result of disabling the initial stream is that Targets don't appear anymore (I'm not the owner of it).&lt;/P&gt;&lt;P&gt;Both Volumes and test&amp;nbsp;are still there maybe because I'm the owner. I tried to deactivate the owner rule - impossible.&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="2020-02-15 01_25_53-Edit security rule - QMC.jpg" style="width: 196px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28467i52331EB0F007F29A/image-size/small?v=v2&amp;amp;px=200" role="button" title="2020-02-15 01_25_53-Edit security rule - QMC.jpg" alt="2020-02-15 01_25_53-Edit security rule - QMC.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 15 Feb 2020 00:29:01 GMT</pubDate>
    <dc:creator>patricesalem</dc:creator>
    <dc:date>2020-02-15T00:29:01Z</dc:date>
    <item>
      <title>Yet another sheet access protection</title>
      <link>https://community.qlik.com/t5/App-Development/Yet-another-sheet-access-protection/m-p/1675934#M51374</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been working hours to try to hide a sheet from an app containing a Vizlib extension (as all users don't have access to it.&lt;/P&gt;&lt;P&gt;I've been reading &lt;A href="https://community.qlik.com/t5/Qlik-Sense-Documents-Videos/Sheet-or-App-Object-Level-Security-Qlik-Sense/ta-p/1485114" target="_blank" rel="noopener"&gt;Qlik article&lt;/A&gt; and also&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/16339"&gt;@rohitk1609&lt;/a&gt;&amp;nbsp;posts and &lt;A href="https://community.qlik.com/t5/Qlik-Sense-Documents-Videos/Sheet-or-App-Object-Level-Security-Qlik-Sense/ta-p/1485114" target="_blank" rel="noopener"&gt;white paper&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;I have also gone through a very &lt;A href="https://www.youtube.com/watch?v=feSaaJZ7Jco" target="_blank" rel="noopener"&gt;good video&lt;/A&gt; explaning also how to create a new stream and use custom properties.&lt;/P&gt;&lt;P&gt;Nevertheless, I want to keep working off my everyone stream in which I have 3 apps : Target, Volumes and test.&lt;/P&gt;&lt;P&gt;In test (duplicate of volumes), I have 12 sheets and one of them is called VIZLIB and I would like to give access to this sheet only to 10 users.&lt;/P&gt;&lt;P&gt;I'm the owner of Volumes and test. I'm not the owner of Targets. Users are managed through AD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have disabled the original Stream:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="2020-02-15 01_14_18-Security rules - QMC.jpg" style="width: 482px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28465i9B8160868D232D38/image-dimensions/482x59?v=v2" width="482" height="59" role="button" title="2020-02-15 01_14_18-Security rules - QMC.jpg" alt="2020-02-15 01_14_18-Security rules - QMC.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;(if I disable StreamEveryone then the everyone stream disappears - conditions =&amp;nbsp;!user.IsAnonymous())&lt;/P&gt;&lt;P&gt;I have then created a new security rule and tried to hide test to myself (before trying to hide the sheet VIZLIB in it).&lt;/P&gt;&lt;P&gt;The condition is :&lt;/P&gt;&lt;P&gt;(resource.resourcetype = "App" and resource.stream.HasPrivilege("read")) or (((resource.resourcetype = "App.Object" and (resource.published ="true" and RESOURCE.NAME = "test")) and&lt;BR /&gt;(user.Name = "My Name") and resource.app.stream.HasPrivilege("read")))&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="2020-02-15 01_16_55-Edit security rule - QMC.jpg" style="width: 252px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28466i72AC6E2E8BDB8C4C/image-dimensions/252x156?v=v2" width="252" height="156" role="button" title="2020-02-15 01_16_55-Edit security rule - QMC.jpg" alt="2020-02-15 01_16_55-Edit security rule - QMC.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The only result of disabling the initial stream is that Targets don't appear anymore (I'm not the owner of it).&lt;/P&gt;&lt;P&gt;Both Volumes and test&amp;nbsp;are still there maybe because I'm the owner. I tried to deactivate the owner rule - impossible.&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="2020-02-15 01_25_53-Edit security rule - QMC.jpg" style="width: 196px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28467i52331EB0F007F29A/image-size/small?v=v2&amp;amp;px=200" role="button" title="2020-02-15 01_25_53-Edit security rule - QMC.jpg" alt="2020-02-15 01_25_53-Edit security rule - QMC.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Feb 2020 00:29:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Yet-another-sheet-access-protection/m-p/1675934#M51374</guid>
      <dc:creator>patricesalem</dc:creator>
      <dc:date>2020-02-15T00:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Yet another sheet access protection</title>
      <link>https://community.qlik.com/t5/App-Development/Yet-another-sheet-access-protection/m-p/1675937#M51375</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;StreamEveryone security rule seems like a fix to resource level security concept which depends on disabling Stream rule.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Earlier when you disable&amp;nbsp; &amp;nbsp;Stream default rule it was affecting Everyone stream too.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now come to the hiding sheet:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You are right when you say you&amp;nbsp;Both Volumes and test&amp;nbsp;are still there maybe because I'm the owner.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best way to test security rules is , test with another user rather than your own.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;you should write three level of rules, stream level, then app level at last apps object level and in app objects, you should write lets say user =Rohit and sheet!=Sheet1 rather than user =Rohit and sheet=Sheet2. Please avoid the syntax , it is just to explain the approach.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please refer my doc how I created these rules.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Rohit&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Feb 2020 04:12:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Yet-another-sheet-access-protection/m-p/1675937#M51375</guid>
      <dc:creator>rohitk1609</dc:creator>
      <dc:date>2020-02-15T04:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Yet another sheet access protection</title>
      <link>https://community.qlik.com/t5/App-Development/Yet-another-sheet-access-protection/m-p/1675950#M51376</link>
      <description>&lt;P&gt;Thanks for the head up Rohit - I will try with a user login...&lt;/P&gt;&lt;P&gt;Nevertheless, I don't understand why I don't see the Target app after having creating new stream and stream app rules.&lt;/P&gt;&lt;P&gt;Do you have a tip to give me ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Sat, 15 Feb 2020 08:22:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Yet-another-sheet-access-protection/m-p/1675950#M51376</guid>
      <dc:creator>patricesalem</dc:creator>
      <dc:date>2020-02-15T08:22:33Z</dc:date>
    </item>
  </channel>
</rss>

