<?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: Hide sheet for Mobile users / Browser in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Hide-sheet-for-Mobile-users-Browser/m-p/1567815#M13239</link>
    <description>&lt;P&gt;Hi, I tried to use environment.browser like "*Mobile*" and it didn't work.&lt;/P&gt;&lt;P&gt;Based on the online help, I understand that qlik only returns Browser name and version.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
    <pubDate>Wed, 10 Apr 2019 17:56:30 GMT</pubDate>
    <dc:creator>erichshiino</dc:creator>
    <dc:date>2019-04-10T17:56:30Z</dc:date>
    <item>
      <title>Hide sheet for Mobile users / Browser</title>
      <link>https://community.qlik.com/t5/Management-Governance/Hide-sheet-for-Mobile-users-Browser/m-p/1567806#M13237</link>
      <description>&lt;P&gt;Hi, I'd like to hide a sheet inside an app when the user is on a mobile browser.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to create a security rule to identify user Operating System (&lt;SPAN&gt;environment.os )&amp;nbsp; and user device, for instance, when it's an Ipad or iPhone (environment.device)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;**I still need to isolate users on Android on Tablets from the ones on smartphones.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reference:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/February2019/Subsystems/ManagementConsole/Content/Sense_QMC/rules-conditions-advanced-view.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/February2019/Subsystems/ManagementConsole/Content/Sense_QMC/rules-conditions-advanced-view.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:06:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Hide-sheet-for-Mobile-users-Browser/m-p/1567806#M13237</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2024-11-16T06:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hide sheet for Mobile users / Browser</title>
      <link>https://community.qlik.com/t5/Management-Governance/Hide-sheet-for-Mobile-users-Browser/m-p/1567813#M13238</link>
      <description>&lt;P&gt;Check this one, maybe this could help:&lt;BR /&gt;&lt;A href="https://deviceatlas.com/blog/list-of-user-agent-strings" target="_blank"&gt;https://deviceatlas.com/blog/list-of-user-agent-strings&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Gio&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 17:53:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Hide-sheet-for-Mobile-users-Browser/m-p/1567813#M13238</guid>
      <dc:creator>Giuseppe_Novello</dc:creator>
      <dc:date>2019-04-10T17:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Hide sheet for Mobile users / Browser</title>
      <link>https://community.qlik.com/t5/Management-Governance/Hide-sheet-for-Mobile-users-Browser/m-p/1567815#M13239</link>
      <description>&lt;P&gt;Hi, I tried to use environment.browser like "*Mobile*" and it didn't work.&lt;/P&gt;&lt;P&gt;Based on the online help, I understand that qlik only returns Browser name and version.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 17:56:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Hide-sheet-for-Mobile-users-Browser/m-p/1567815#M13239</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2019-04-10T17:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Hide sheet for Mobile users / Browser</title>
      <link>https://community.qlik.com/t5/Management-Governance/Hide-sheet-for-Mobile-users-Browser/m-p/1567818#M13240</link>
      <description>&lt;P&gt;Interesting, it should take that, let me go ahead and replicate it, If I do bug it with R&amp;amp;D.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Gio&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 18:03:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Hide-sheet-for-Mobile-users-Browser/m-p/1567818#M13240</guid>
      <dc:creator>Giuseppe_Novello</dc:creator>
      <dc:date>2019-04-10T18:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Hide sheet for Mobile users / Browser</title>
      <link>https://community.qlik.com/t5/Management-Governance/Hide-sheet-for-Mobile-users-Browser/m-p/1567902#M13241</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please, Keep me informed of the progress&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERich&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 23:57:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Hide-sheet-for-Mobile-users-Browser/m-p/1567902#M13241</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2019-04-10T23:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Hide sheet for Mobile users / Browser</title>
      <link>https://community.qlik.com/t5/Management-Governance/Hide-sheet-for-Mobile-users-Browser/m-p/1568332#M13249</link>
      <description>&lt;P&gt;There is a high degree of difficulty here. From first principles, Qlik Sense was designed to be mobile ready by using responsive design in the front end UI. So it doesn't make much sense to restrict mobile users. That being said, this is confirmed to be working on my Qlik Sense February 2019 Patch 1 deployment.&lt;/P&gt;
&lt;P&gt;Initial Configuration:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You will need to enable&amp;nbsp;&lt;STRONG&gt;Extended security environment&lt;/STRONG&gt; for any virtual proxy which will be used (QMC &amp;gt; Virtual Proxies &amp;gt; Edit &amp;gt; Advanced):&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="01-virtual_proxy.png" style="width: 650px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/10023iF39412070625CAEE/image-size/large?v=v2&amp;amp;px=999" role="button" title="01-virtual_proxy.png" alt="01-virtual_proxy.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;I would strongly encourage enabling DEBUG level logging for the proxy/proxies you are using for the Audit log level in order to confirm what is being sent by your mobile clients:&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="01-proxy.png" style="width: 643px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/10024i261A0D6A576F5334/image-size/large?v=v2&amp;amp;px=999" role="button" title="01-proxy.png" alt="01-proxy.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Application Configuration:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You will need to add an element to the sheet to signal that you want to exclude it. In this example, I am using descriptions like so:&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="01-sheet_setup.png" style="width: 412px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/10026iADF6F30B8FDD3A72/image-size/large?v=v2&amp;amp;px=999" role="button" title="01-sheet_setup.png" alt="01-sheet_setup.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Security Rule Configuration&lt;/STRONG&gt;:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You will need to disable the default rule named&amp;nbsp;&lt;STRONG&gt;Stream&lt;/STRONG&gt;
&lt;UL&gt;
&lt;LI&gt;This rule inherits read rights to all the Apps in a stream as well as the App.Objects (sheets, stories, etc) in an app from read rights from the Stream&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Rebuild the Stream rule to exclude the sheets which have the descriptions. Example:
&lt;UL&gt;
&lt;LI&gt;Filter: App*&lt;/LI&gt;
&lt;LI&gt;Actions: Read + Publish&lt;/LI&gt;
&lt;LI&gt;Conditions:&amp;nbsp;(resource.resourcetype = "App" and resource.stream.HasPrivilege("read")) or ((resource.resourcetype = "App.Object" and resource.published ="true" and resource.objectType != "app_appscript" and resource.objectType != "loadmodel") and resource.app.stream.HasPrivilege("read") and !(resource.description like "*Mobile*"))&lt;/LI&gt;
&lt;LI&gt;Context: Both Hub and QMC&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; the last clause,&amp;nbsp;!(resource.description like "*Mobile*"), will mean that users who can see the objects from inheritance from the stream will not be able to see objects (practically only sheets will fit this restriction) which have a description including Mobile.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Create a new rule to provide access to the "Mobile" sheets based on the environment of the user:
&lt;UL&gt;
&lt;LI&gt;Filter: App.Object_*&lt;/LI&gt;
&lt;LI&gt;Actions: Read + Publish&lt;/LI&gt;
&lt;LI&gt;Conditions:&amp;nbsp;(((resource.published ="true" and resource.objectType != "app_appscript" and resource.objectType != "loadmodel") and resource.app.stream.HasPrivilege("read") and resource.description like "*Mobile*") and user.environment.os != "Linux")&lt;/LI&gt;
&lt;LI&gt;Context: Both QMC and Hub&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; I am using user.environment.os and scoping it to Linux to capture my Android device. You will want to confirm the elements which you can use in rules in the newly DEBUG Proxy &amp;gt; Trace &amp;gt; Audit log (this will be covered a bit more below)&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Result:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Chrome Desktop:&lt;/STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="01-desktop.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/10028iFE15A199B63E42B3/image-size/large?v=v2&amp;amp;px=999" role="button" title="01-desktop.png" alt="01-desktop.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;iPhone&lt;/STRONG&gt;:&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="01-iphone.png" style="width: 450px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/10029i0863B29C2D46D5F7/image-size/large?v=v2&amp;amp;px=999" role="button" title="01-iphone.png" alt="01-iphone.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Android&lt;/STRONG&gt;:&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="01-android.png" style="width: 484px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/10030iB64B50ADEE79DEBA/image-size/large?v=v2&amp;amp;px=999" role="button" title="01-android.png" alt="01-android.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Debugging notes&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;I will say that these rules work for me, but you will need to confirm things precisely in your environment. Copying and pasting the rules may work, but may not. This style of deployment will require you to look into the logs mentioned above to confirm elements.&lt;/P&gt;
&lt;P&gt;For example here are the&amp;nbsp;&lt;STRONG&gt;Message&lt;/STRONG&gt; column entries for the devices I tested (bolded elements are apt to be used in a rule):&lt;/P&gt;
&lt;P&gt;iPhone:&amp;nbsp;Headers that will be injected: [X-Qlik-Security, &lt;STRONG&gt;OS=Mac OS X&lt;/STRONG&gt;; &lt;STRONG&gt;Device=iPhone&lt;/STRONG&gt;; &lt;STRONG&gt;Browser=Safari 12.1&lt;/STRONG&gt;; IP=::ffff:192.168.1.66; &lt;STRONG&gt;ClientOsVersion=Unknown&lt;/STRONG&gt;; SecureRequest=false; Context=AppAccess; ] ...&lt;/P&gt;
&lt;P&gt;Desktop:&amp;nbsp;Headers that will be injected: [X-Qlik-Security, &lt;STRONG&gt;OS=Windows&lt;/STRONG&gt;; &lt;STRONG&gt;Device=Default&lt;/STRONG&gt;; &lt;STRONG&gt;Browser=Chrome 73.0.3683.103&lt;/STRONG&gt;; IP=::ffff:192.168.1.71; &lt;STRONG&gt;ClientOsVersion=10.0&lt;/STRONG&gt;; SecureRequest=false; Context=AppAccess; ]...&lt;/P&gt;
&lt;P&gt;Android:&amp;nbsp;Headers that will be injected: [X-Qlik-Security, &lt;STRONG&gt;OS=Linux&lt;/STRONG&gt;; &lt;STRONG&gt;Device=Default&lt;/STRONG&gt;; &lt;STRONG&gt;Browser=Chrome 73.0.3683.90&lt;/STRONG&gt;; IP=::ffff:192.168.1.99; &lt;STRONG&gt;ClientOsVersion=Unknown&lt;/STRONG&gt;; &lt;STRONG&gt;SecureRequest=false&lt;/STRONG&gt;; Context=AppAccess; ]...&lt;/P&gt;
&lt;P&gt;Once you have these details from the devices that you want to show the sheet to, then you can use them to fuel a security rule.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 16:45:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Hide-sheet-for-Mobile-users-Browser/m-p/1568332#M13249</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2019-04-11T16:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Hide sheet for Mobile users / Browser</title>
      <link>https://community.qlik.com/t5/Management-Governance/Hide-sheet-for-Mobile-users-Browser/m-p/1568731#M13253</link>
      <description>&lt;P&gt;BTW I ask&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/47469"&gt;@Levi_Turner&lt;/a&gt;&amp;nbsp; on this one, since is waaaaayy smarter than me on security rules. Thanks Levi!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Gio&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 12:00:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Hide-sheet-for-Mobile-users-Browser/m-p/1568731#M13253</guid>
      <dc:creator>Giuseppe_Novello</dc:creator>
      <dc:date>2019-04-12T12:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Hide sheet for Mobile users / Browser</title>
      <link>https://community.qlik.com/t5/Management-Governance/Hide-sheet-for-Mobile-users-Browser/m-p/1730410#M16417</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/47469"&gt;@Levi_Turner&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your explanation, it really is very helpful! Right now I'm using "environment.os!=Windows" to see if the user is using a mobile device, and is working so far because everyone in the organization uses Windows, but if someone starts using a Macbook or a Linux computer then this rule will not work as intended.&lt;/P&gt;&lt;P&gt;I found this article: &lt;A href="https://support.qlik.com/articles/000097034" target="_blank"&gt;https://support.qlik.com/articles/000097034&lt;/A&gt; and it says that the user-agent string contains information like QlikSenseMobile for iOS devices or Android, but I cannot find the attribute to match it with. Is there a way to use this information in the security rule?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 19:30:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Hide-sheet-for-Mobile-users-Browser/m-p/1730410#M16417</guid>
      <dc:creator>RenzoH</dc:creator>
      <dc:date>2020-07-23T19:30:05Z</dc:date>
    </item>
  </channel>
</rss>

