<?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 Section access - authorize groups only in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Section-access-authorize-groups-only/m-p/877669#M991083</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use webtickets (configured with DMS authorization and Custom User authentication)&lt;/P&gt;&lt;P&gt;and pass certain groups so that only user belonging to a group can see a document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using QV11 with IIS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With a php script I pass the following xml&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Global method="GetWebTicket"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;UserId&amp;gt;MYUSER&amp;lt;/UserId&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;GroupList&amp;gt;&amp;lt;string&amp;gt;GROUP1&amp;lt;/string&amp;gt;&amp;lt;/GroupList&amp;gt;&amp;lt;GroupsIsNames&amp;gt;true&amp;lt;/GroupsIsNames&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/Global&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the document has the following section access&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Section&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Access&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[ACCESS,GROUP&lt;BR /&gt; ADMIN, GROUP2&lt;BR /&gt; USER, GROUP3&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so only users with GROUP2 and GROUP3 should be able open the document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, no mather which Group I pass with php, I can always open the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to pass groups only? If yes, is there anything wrong with my code?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2015 09:53:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-07-15T09:53:55Z</dc:date>
    <item>
      <title>Section access - authorize groups only</title>
      <link>https://community.qlik.com/t5/QlikView/Section-access-authorize-groups-only/m-p/877669#M991083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use webtickets (configured with DMS authorization and Custom User authentication)&lt;/P&gt;&lt;P&gt;and pass certain groups so that only user belonging to a group can see a document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using QV11 with IIS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With a php script I pass the following xml&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Global method="GetWebTicket"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;UserId&amp;gt;MYUSER&amp;lt;/UserId&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;GroupList&amp;gt;&amp;lt;string&amp;gt;GROUP1&amp;lt;/string&amp;gt;&amp;lt;/GroupList&amp;gt;&amp;lt;GroupsIsNames&amp;gt;true&amp;lt;/GroupsIsNames&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/Global&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the document has the following section access&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Section&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Access&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[ACCESS,GROUP&lt;BR /&gt; ADMIN, GROUP2&lt;BR /&gt; USER, GROUP3&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so only users with GROUP2 and GROUP3 should be able open the document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, no mather which Group I pass with php, I can always open the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to pass groups only? If yes, is there anything wrong with my code?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 09:53:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-access-authorize-groups-only/m-p/877669#M991083</guid>
      <dc:creator />
      <dc:date>2015-07-15T09:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Section access - authorize groups only</title>
      <link>https://community.qlik.com/t5/QlikView/Section-access-authorize-groups-only/m-p/877670#M991084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if an authorization with user-groups is possible per DMS-mode. The &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;authenticated &lt;/SPAN&gt;&lt;/SPAN&gt;user itself will be handled like a NT user but groups - I don't know. For this you need to add NTNAME as key-field into the section access the GROUP isn't such a key-field. You could it only use for horizontally restrictions. I think this will helpful for you: &lt;A href="https://community.qlik.com/docs/DOC-1853"&gt;Introduction to Section Access&lt;/A&gt; and very important: make a &lt;STRONG&gt;BACKUP&lt;/STRONG&gt; from your app before you going further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 14:57:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-access-authorize-groups-only/m-p/877670#M991084</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-07-15T14:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Section access - authorize groups only</title>
      <link>https://community.qlik.com/t5/QlikView/Section-access-authorize-groups-only/m-p/877671#M991085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So must I add all users in the section access? &lt;/P&gt;&lt;P&gt;This is not feasible as have thousands of users and they come and go everyday.&lt;/P&gt;&lt;P&gt;So I cannot use a static solution&amp;nbsp; like the section access, can't I?&lt;/P&gt;&lt;P&gt;Do you see another possibility to set authorization by groups only?&lt;/P&gt;&lt;P&gt;The document you passed me is interesting and I'll give a thorough read pretty soon.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 07:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-access-authorize-groups-only/m-p/877671#M991085</guid>
      <dc:creator />
      <dc:date>2015-07-16T07:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Section access - authorize groups only</title>
      <link>https://community.qlik.com/t5/QlikView/Section-access-authorize-groups-only/m-p/877672#M991086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi icsinqlik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think that SA (section access) is the right means to achieve what you want - you could load all the individual names acc. to those groups from some database or file - but SA has to be the very first thing in your script, so that won't work.&lt;/P&gt;&lt;P&gt;What you can do is (I don't know whether it would work in a trigger or you'd need a macro, try it out) to launch a routine, upon opening the document, checking the logged-in user (&lt;STRONG&gt;OSUSER()&lt;/STRONG&gt;) against a list which you have loaded beforehand from your personnel-database or some file and if the user is not part of the list, close the document.&lt;/P&gt;&lt;P&gt;Of course, that could be worked around (by disabling macros when opening the app) but it's better than nothing ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or - make a second app which just queries the currently logged-in user, checks him/her against a &lt;STRONG&gt;previously loaded&lt;/STRONG&gt; list and if it does match, saved a small qvd which passes some small token to the SA in the second app (like a username and password) - I don't actually know if that is doable, it's an idea I had just now - and then call that second app via document_chaining - and if and only if the first app declared that user as authorized, he/she will be able to open the actual one - direct opening of that app won't be possible anymore since that token would not match any real OSUSER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: To be honest, that is just built upon a solution that someone here in the Community gave me for an app that is supposed to be used by people all over the place who will have the technical possibilities to mess it up - but they shouldn't, so everyone who does not know a specific password - AND have a specific second app - can only open that with USER privileges.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 07:45:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-access-authorize-groups-only/m-p/877672#M991086</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-07-16T07:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Section access - authorize groups only</title>
      <link>https://community.qlik.com/t5/QlikView/Section-access-authorize-groups-only/m-p/877673#M991087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The fact about your ideas, is that I always have to specify all users in a list.&lt;/P&gt;&lt;P&gt;Unfortunately I can't do that because I the users because change every day (and possibily at any moment)&lt;/P&gt;&lt;P&gt;It would be not feasible to export them and I have problems to query the user database.&lt;/P&gt;&lt;P&gt;This is why I wanted to authorize groups&amp;nbsp; only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 08:01:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-access-authorize-groups-only/m-p/877673#M991087</guid>
      <dc:creator />
      <dc:date>2015-07-16T08:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Section access - authorize groups only</title>
      <link>https://community.qlik.com/t5/QlikView/Section-access-authorize-groups-only/m-p/877674#M991088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In general such approaches mustn't be static. But I think it must be viewed a bit more differentiated. Section Access is only the part of authorization which is applied on a single application-level and you will need to use at first a higher authorization-level on user and user-group level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use DMS with custom users, too but create the user and usergroups manually which meant not much maintaining efforts because we use functional users like area_1, area_2 ... instead of personal users like john, mike ... I suggest you rethink your intended approaches of authenticating and authorizations and consults a partner with experience for this then afterwards changes could be very expensive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 08:19:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-access-authorize-groups-only/m-p/877674#M991088</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-07-16T08:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Section access - authorize groups only</title>
      <link>https://community.qlik.com/t5/QlikView/Section-access-authorize-groups-only/m-p/877675#M991089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I had thought about a&amp;nbsp; similar approach to work around. Anyway, I'll consult a partner to check that the solution holds.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 08:28:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Section-access-authorize-groups-only/m-p/877675#M991089</guid>
      <dc:creator />
      <dc:date>2015-07-16T08:28:10Z</dc:date>
    </item>
  </channel>
</rss>

