<?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 Different permission on job and sql query in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Different-permission-on-job-and-sql-query/m-p/2344879#M112475</link>
    <description>&lt;P&gt;Hi guys! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a job that I sense will be useful for a lot of people in my company. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Short explained they will have the possibility to write their own sql query and execute the job that will iterate the sql over multiplte db's and deliver the merged output per Mail in an .csv file.  This already work as I want to but now I need some help with finetuning. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For security reasons I want to add some kind of password protection or something and maybe you guys have some good suggestions on how to solve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking of something like this:&lt;/P&gt;&lt;P&gt;When the user executes the .batch the have to enter a password. If the password is wrong they job obviously stops. If it's correct the job continues. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A second step would be to have different passwords (users) where only the ones with admin password can run delete/update/insert statements and the rest are only allowed to run select statements. Is there some option in for example tell dbInput to only allow select statements?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Feel free to share your ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 22:09:27 GMT</pubDate>
    <dc:creator>jensej</dc:creator>
    <dc:date>2024-11-15T22:09:27Z</dc:date>
    <item>
      <title>Different permission on job and sql query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Different-permission-on-job-and-sql-query/m-p/2344879#M112475</link>
      <description>&lt;P&gt;Hi guys! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a job that I sense will be useful for a lot of people in my company. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Short explained they will have the possibility to write their own sql query and execute the job that will iterate the sql over multiplte db's and deliver the merged output per Mail in an .csv file.  This already work as I want to but now I need some help with finetuning. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For security reasons I want to add some kind of password protection or something and maybe you guys have some good suggestions on how to solve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking of something like this:&lt;/P&gt;&lt;P&gt;When the user executes the .batch the have to enter a password. If the password is wrong they job obviously stops. If it's correct the job continues. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A second step would be to have different passwords (users) where only the ones with admin password can run delete/update/insert statements and the rest are only allowed to run select statements. Is there some option in for example tell dbInput to only allow select statements?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Feel free to share your ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:09:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Different-permission-on-job-and-sql-query/m-p/2344879#M112475</guid>
      <dc:creator>jensej</dc:creator>
      <dc:date>2024-11-15T22:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Different permission on job and sql query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Different-permission-on-job-and-sql-query/m-p/2344880#M112476</link>
      <description>&lt;P&gt;I presume that this is using Talend Open Studio and they are running by clicking on the batch file or running it from the command line. Is that correct? If so, you can set up a context variable (or a couple) to take the username and password, then use it in the job to check against data stored in a database somewhere. It the information is correct, you can set the rest of the job to run. If not, then you can simply print an error message using a tLogRow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is incredibly basic and not what would be described as truly secure, but should meet your requirements if my assumptions are correct.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 17:27:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Different-permission-on-job-and-sql-query/m-p/2344880#M112476</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-30T17:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Different permission on job and sql query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Different-permission-on-job-and-sql-query/m-p/2344881#M112477</link>
      <description>&lt;P&gt;Yes I will try solve it like this. Thanks for your answer&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 14:55:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Different-permission-on-job-and-sql-query/m-p/2344881#M112477</guid>
      <dc:creator>jensej</dc:creator>
      <dc:date>2023-02-02T14:55:52Z</dc:date>
    </item>
  </channel>
</rss>

