<?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: Security while Rest Connection to run tasks in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Security-while-Rest-Connection-to-run-tasks/m-p/2523808#M42771</link>
    <description>&lt;P&gt;So why dont you create another set of Get and Post connections with user who has only access to that app only and use that pair?&lt;/P&gt;&lt;P&gt;I dont think REST connector has SSO for connections so user Id and password are hardcoded and predefined&amp;nbsp;so only workaround I am thinking of would be to have a set of various connections.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry, but I dont think you can manage that in any other way. Maybe other can comment on it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;</description>
    <pubDate>Thu, 10 Jul 2025 13:27:13 GMT</pubDate>
    <dc:creator>Lech_Miszkiewicz</dc:creator>
    <dc:date>2025-07-10T13:27:13Z</dc:date>
    <item>
      <title>Security while Rest Connection to run tasks</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Security-while-Rest-Connection-to-run-tasks/m-p/2523747#M42768</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;we have QVF files that use a rest connector to connect to an application and run desired tasks&lt;BR /&gt;I'm asked to secure calls to run tasks in a way if the user account that is using the rest connector cannot run a task unless that user account has access to the app of that task&lt;BR /&gt;&lt;BR /&gt;can someone help me?&lt;BR /&gt;the useraccount running the nprinting services is NPRINTINGUSER&lt;BR /&gt;the useraccount running the Qlik Sense engine is MXUSER&lt;BR /&gt;both are administrators&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;our code looks something like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ali_hijazi_0-1752132769677.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/181986iA1C6CD03B5CAA757/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ali_hijazi_0-1752132769677.png" alt="ali_hijazi_0-1752132769677.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;currently in the Nprinting_LOGIN we are using the NPRINTINGUSER which is an administrator&lt;BR /&gt;suppose I login with my_user_account for example and I don't have access to Times To Validate app, will the above code run? I'm asking because in Qlik it is always the MXUSER who is running the processes in the background. so if we login with a user account that doesn't access to the app, script will fail but works if we login with a user account that has access to Times To Validate?&lt;BR /&gt;is this the correct approach?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 07:36:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Security-while-Rest-Connection-to-run-tasks/m-p/2523747#M42768</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2025-07-10T07:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Security while Rest Connection to run tasks</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Security-while-Rest-Connection-to-run-tasks/m-p/2523763#M42769</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/216"&gt;@ali_hijazi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to secure use of REST GET and POST connections from Qlik Sense to NPrinting you need to apply security rules in QMC to restrict visibility/use of those connections only to accounts you want. You can do that by use of groups or custom properties. Obviously that means you may need to look at how security rules for your environment connections are set and whether&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is the same as having configured connection to database with predefined user in it. Everyone who can see such connection can use it.&lt;/P&gt;&lt;P&gt;Those processes are for scheduled reloads only as having them for any other reason does not make sense given that checking users and allowing them to run tasks manually may be avoided simply by allowing them to run task directly from NPrinting where exactly the same approach can be achieved.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Understanding reasons and full workflow of your problem is probably required as at this stage to me this is binary:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;you allow use of service accounts to run task (APIs are configured under PREDEFINED accounts) - that is typical to run schedule dependancies based on other tasks.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;or you allow individuals to trigger tasks - for that you dont need API and users can use NPrinting console.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 09:19:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Security-while-Rest-Connection-to-run-tasks/m-p/2523763#M42769</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2025-07-10T09:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Security while Rest Connection to run tasks</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Security-while-Rest-Connection-to-run-tasks/m-p/2523789#M42770</link>
      <description>&lt;P&gt;hello&lt;BR /&gt;I'm not talking about securing rest connections as data connections&lt;BR /&gt;I meant currently we use to connect from Rest connector a user named NprintingUser and this user account is administrator the administrator has access to all apps&lt;BR /&gt;&lt;BR /&gt;what I want is use a user in the rest connector that has access to One desired app and thus can run the tasks of that app only&lt;BR /&gt;&lt;BR /&gt;so if I want to run a task for another app using the same user but who doesn't have access to the app in the example above then the script should fail&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 12:36:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Security-while-Rest-Connection-to-run-tasks/m-p/2523789#M42770</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2025-07-10T12:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Security while Rest Connection to run tasks</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Security-while-Rest-Connection-to-run-tasks/m-p/2523808#M42771</link>
      <description>&lt;P&gt;So why dont you create another set of Get and Post connections with user who has only access to that app only and use that pair?&lt;/P&gt;&lt;P&gt;I dont think REST connector has SSO for connections so user Id and password are hardcoded and predefined&amp;nbsp;so only workaround I am thinking of would be to have a set of various connections.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry, but I dont think you can manage that in any other way. Maybe other can comment on it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 13:27:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Security-while-Rest-Connection-to-run-tasks/m-p/2523808#M42771</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2025-07-10T13:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Security while Rest Connection to run tasks</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Security-while-Rest-Connection-to-run-tasks/m-p/2523814#M42772</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1326"&gt;@Lech_Miszkiewicz&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;yes this is what I was talking about&lt;/P&gt;&lt;P&gt;create pair of GET / POST rest connections for each app or security role&lt;BR /&gt;I use in each pair a user account that is not administrator and has access to teh app that we want to get and run the related reports&lt;BR /&gt;so this is a good approache?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 14:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Security-while-Rest-Connection-to-run-tasks/m-p/2523814#M42772</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2025-07-10T14:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Security while Rest Connection to run tasks</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Security-while-Rest-Connection-to-run-tasks/m-p/2523870#M42773</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/216"&gt;@ali_hijazi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;This is not something what would have "best practices" established and your requirement is rather unique so I say just try if it works for you. Is this a good aproach? - I dont know, but it is the only aproach I could come up with when trying to answer your question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2025 22:52:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Security-while-Rest-Connection-to-run-tasks/m-p/2523870#M42773</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2025-07-10T22:52:34Z</dc:date>
    </item>
  </channel>
</rss>

