<?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>article Security Rule example: Disable custom connector for particular user group for Qlik Sense in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-example-Disable-custom-connector-for-particular/ta-p/1711949</link>
    <description>&lt;P&gt;This article describes an example of how to disable custom connectors for a particular user group for Qlik Sense.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;The example is provided &lt;EM&gt;as is.&amp;nbsp;&lt;/EM&gt;Further customisation or adaptation to a specific use case scenario can be obtained by engaging Qlik's Professional Services.&amp;nbsp;&lt;/BLOCKQUOTE&gt;
&lt;H4&gt;&lt;STRONG&gt;Setup example&lt;/STRONG&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Domain\alex&lt;/SPAN&gt;: Domain user account, belong to Windows user Group “&lt;SPAN&gt;Sydney&lt;/SPAN&gt;”&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Domain\bob&lt;/SPAN&gt;: Domain user account, belong to user Group “&lt;SPAN&gt;Sydney&lt;/SPAN&gt;”&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Domain\craig&lt;/SPAN&gt;: Domain user account, belong to none of user Group&lt;/LI&gt;
&lt;LI&gt;Above three users account are already fetched into Qlik Sense via UDC and Token is assigned.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H4&gt;&lt;STRONG&gt;Goal&lt;/STRONG&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Users in user group “&lt;SPAN&gt;Sydney&lt;/SPAN&gt;” CANNOT create “custom” data connection.&lt;/LI&gt;
&lt;LI&gt;Users in other group CAN create “custom” data connection.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;Steps&lt;/STRONG&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Go to &lt;SPAN&gt;QMC &amp;gt; Security Rules&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Select Security Rule Name &lt;SPAN&gt;&lt;STRONG&gt;DataConnection&lt;/STRONG&gt; &lt;/SPAN&gt;and press &lt;STRONG&gt;Edit&lt;/STRONG&gt; button.&lt;/LI&gt;
&lt;LI&gt;Tick &lt;STRONG&gt;Disable&lt;/STRONG&gt; and press &lt;STRONG&gt;Apply&lt;/STRONG&gt; button.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="security rule create.png" style="width: 540px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/174461iEAD9719F8A30F1D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="security rule create.png" alt="security rule create.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Press &lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Create new&lt;/STRONG&gt;&lt;SPAN&gt; button to create a new Security rule. Enter below.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;
&lt;PRE&gt;&lt;STRONG&gt;Name:&lt;/STRONG&gt; DisableCustomConnectors
&lt;STRONG&gt;Description:&lt;/STRONG&gt; This custom rule disables Custom Connectors for user group “Sydney”
&lt;STRONG&gt;Resource filter:&lt;/STRONG&gt; DataConnection_*
&lt;STRONG&gt;Action: &lt;/STRONG&gt;Create
&lt;STRONG&gt;Condition: &lt;/STRONG&gt;((resource.type!="folder" and resource.type!="Custom") and (user.group="Sydney"))
&lt;STRONG&gt;Context:&lt;/STRONG&gt; Only in hub&lt;/PRE&gt;
&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Press &lt;STRONG&gt;Apply&lt;/STRONG&gt; button&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Press &lt;STRONG&gt;Create new&lt;/STRONG&gt; button to create new Security rule. Enter below and press Apply button.&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;: DataConnectionForNormalUsers
&lt;STRONG&gt;Description: &lt;/STRONG&gt;This custom rule is for Data Connections except User Group “Sydney”. Custom Connection creation enabled.
&lt;STRONG&gt;Resource filter:&lt;/STRONG&gt; DataConnection_*
&lt;STRONG&gt;Action: &lt;/STRONG&gt;Create
&lt;STRONG&gt;Condition:&lt;/STRONG&gt; ((resource.type!="folder" and user.group!="Sydney"))
&lt;STRONG&gt;Context:&lt;/STRONG&gt; Only in hub&lt;/PRE&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="create new security rule.png" style="width: 537px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/174463i6B09E4A16DF2830F/image-size/large?v=v2&amp;amp;px=999" role="button" title="create new security rule.png" alt="create new security rule.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Press &lt;STRONG&gt;Apply&lt;/STRONG&gt; button&lt;BR /&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Mon, 18 Nov 2024 08:47:22 GMT</pubDate>
    <dc:creator>Yoichi_Hirotake</dc:creator>
    <dc:date>2024-11-18T08:47:22Z</dc:date>
    <item>
      <title>Security Rule example: Disable custom connector for particular user group for Qlik Sense</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-example-Disable-custom-connector-for-particular/ta-p/1711949</link>
      <description>&lt;P&gt;This article describes an example of how to disable custom connectors for a particular user group for Qlik Sense.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;The example is provided &lt;EM&gt;as is.&amp;nbsp;&lt;/EM&gt;Further customisation or adaptation to a specific use case scenario can be obtained by engaging Qlik's Professional Services.&amp;nbsp;&lt;/BLOCKQUOTE&gt;
&lt;H4&gt;&lt;STRONG&gt;Setup example&lt;/STRONG&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Domain\alex&lt;/SPAN&gt;: Domain user account, belong to Windows user Group “&lt;SPAN&gt;Sydney&lt;/SPAN&gt;”&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Domain\bob&lt;/SPAN&gt;: Domain user account, belong to user Group “&lt;SPAN&gt;Sydney&lt;/SPAN&gt;”&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Domain\craig&lt;/SPAN&gt;: Domain user account, belong to none of user Group&lt;/LI&gt;
&lt;LI&gt;Above three users account are already fetched into Qlik Sense via UDC and Token is assigned.&lt;/LI&gt;
&lt;/UL&gt;
&lt;H4&gt;&lt;STRONG&gt;Goal&lt;/STRONG&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Users in user group “&lt;SPAN&gt;Sydney&lt;/SPAN&gt;” CANNOT create “custom” data connection.&lt;/LI&gt;
&lt;LI&gt;Users in other group CAN create “custom” data connection.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;Steps&lt;/STRONG&gt;&lt;/H4&gt;
&lt;OL&gt;
&lt;LI&gt;Go to &lt;SPAN&gt;QMC &amp;gt; Security Rules&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Select Security Rule Name &lt;SPAN&gt;&lt;STRONG&gt;DataConnection&lt;/STRONG&gt; &lt;/SPAN&gt;and press &lt;STRONG&gt;Edit&lt;/STRONG&gt; button.&lt;/LI&gt;
&lt;LI&gt;Tick &lt;STRONG&gt;Disable&lt;/STRONG&gt; and press &lt;STRONG&gt;Apply&lt;/STRONG&gt; button.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="security rule create.png" style="width: 540px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/174461iEAD9719F8A30F1D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="security rule create.png" alt="security rule create.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Press &lt;/SPAN&gt;&lt;STRONG style="font-family: inherit;"&gt;Create new&lt;/STRONG&gt;&lt;SPAN&gt; button to create a new Security rule. Enter below.&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;
&lt;PRE&gt;&lt;STRONG&gt;Name:&lt;/STRONG&gt; DisableCustomConnectors
&lt;STRONG&gt;Description:&lt;/STRONG&gt; This custom rule disables Custom Connectors for user group “Sydney”
&lt;STRONG&gt;Resource filter:&lt;/STRONG&gt; DataConnection_*
&lt;STRONG&gt;Action: &lt;/STRONG&gt;Create
&lt;STRONG&gt;Condition: &lt;/STRONG&gt;((resource.type!="folder" and resource.type!="Custom") and (user.group="Sydney"))
&lt;STRONG&gt;Context:&lt;/STRONG&gt; Only in hub&lt;/PRE&gt;
&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Press &lt;STRONG&gt;Apply&lt;/STRONG&gt; button&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Press &lt;STRONG&gt;Create new&lt;/STRONG&gt; button to create new Security rule. Enter below and press Apply button.&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE&gt;&lt;STRONG&gt;Name&lt;/STRONG&gt;: DataConnectionForNormalUsers
&lt;STRONG&gt;Description: &lt;/STRONG&gt;This custom rule is for Data Connections except User Group “Sydney”. Custom Connection creation enabled.
&lt;STRONG&gt;Resource filter:&lt;/STRONG&gt; DataConnection_*
&lt;STRONG&gt;Action: &lt;/STRONG&gt;Create
&lt;STRONG&gt;Condition:&lt;/STRONG&gt; ((resource.type!="folder" and user.group!="Sydney"))
&lt;STRONG&gt;Context:&lt;/STRONG&gt; Only in hub&lt;/PRE&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="create new security rule.png" style="width: 537px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/174463i6B09E4A16DF2830F/image-size/large?v=v2&amp;amp;px=999" role="button" title="create new security rule.png" alt="create new security rule.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Press &lt;STRONG&gt;Apply&lt;/STRONG&gt; button&lt;BR /&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Mon, 18 Nov 2024 08:47:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-example-Disable-custom-connector-for-particular/ta-p/1711949</guid>
      <dc:creator>Yoichi_Hirotake</dc:creator>
      <dc:date>2024-11-18T08:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Security Rule example: Disable custom connector for particular user group for Qlik Sense</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-example-Disable-custom-connector-for-particular/tac-p/2492791#M14954</link>
      <description>&lt;P&gt;Hi, &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28597"&gt;@Sonja_Bauernfeind&lt;/a&gt;. Is it possible to restrict the use of &lt;STRONG&gt;a specific custom connector&lt;/STRONG&gt; and not all of them? If we use the "type" of the connection (which is the connector's .exe file name) it allows users to choose the connector, follow the wizard and it only fails when actually trying to create the connection at the end. &lt;STRONG&gt;We would like to remove the connector from the screen altogether&lt;/STRONG&gt;, but only that one connector, for specific users.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 15:37:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-example-Disable-custom-connector-for-particular/tac-p/2492791#M14954</guid>
      <dc:creator>cjgorrin</dc:creator>
      <dc:date>2024-11-14T15:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Security Rule example: Disable custom connector for particular user group for Qlik Sense</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-example-Disable-custom-connector-for-particular/tac-p/2493170#M14970</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/106375"&gt;@cjgorrin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is likely a question that'll need to go to our Professional Services or which is better served in the forums. But let me reach out internally to see if I can get you some information.&lt;/P&gt;
&lt;P&gt;All the best,&lt;BR /&gt;Sonja&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 08:49:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-example-Disable-custom-connector-for-particular/tac-p/2493170#M14970</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2024-11-18T08:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Security Rule example: Disable custom connector for particular user group for Qlik Sense</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-example-Disable-custom-connector-for-particular/tac-p/2493182#M14972</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/106375"&gt;@cjgorrin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For us to be able to review this effectively, please go into as much detail as possible and explain the exact use case.&lt;/P&gt;
&lt;P&gt;All the best,&lt;BR /&gt;Sonja&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 09:45:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-example-Disable-custom-connector-for-particular/tac-p/2493182#M14972</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2024-11-18T09:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Security Rule example: Disable custom connector for particular user group for Qlik Sense</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-example-Disable-custom-connector-for-particular/tac-p/2493194#M14974</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28597"&gt;@Sonja_Bauernfeind&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;We have developed a couple custom connectors that we have deployed in our Qlik Sense Enterprise on Windows server.&lt;/P&gt;
&lt;P&gt;With these connectors, when you create the connection you must select the folder from which to read the files. Our idea is that only admins should create such connections, because we don't want people to be able to access any file they want in our server.&lt;/P&gt;
&lt;P&gt;So, we changed the security rules to try to prevent users from creating these types of connections. However, people can try to create the connection, following the connector's wizard, which will fail only at the end of the process. But in an intermediate step, they can see all folders on the server.&lt;/P&gt;
&lt;P&gt;We would like to be able to remove the connector from the screen altogether. That they cannot even start the wizard.&lt;/P&gt;
&lt;P&gt;One of those connectors is &lt;A href="https://github.com/ec-jrc/G2Q" target="_self"&gt;G2Q&lt;/A&gt; (GAMS2Qlik), which we developed in-house. And our security rule looks like this:&lt;/P&gt;
&lt;PRE&gt;((resource.type!="folder" and resource.type!="QvGamsConnector.exe"))&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;Again, it prevents the creation of the connection in the last step, but it allows them to start the connection creation wizard, which we don't want.&lt;/P&gt;
&lt;P&gt;Also, we cannot do anything on the connector's side, since the connector does not know who is calling it and what their permissions are. The restriction must be places on the Qlik Sense side.&lt;BR /&gt;&lt;BR /&gt;I hope this clarifies the issue. Thanks again.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 10:23:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Security-Rule-example-Disable-custom-connector-for-particular/tac-p/2493194#M14974</guid>
      <dc:creator>cjgorrin</dc:creator>
      <dc:date>2024-11-18T10:23:36Z</dc:date>
    </item>
  </channel>
</rss>

