<?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: is there a read only option in jdbc driver? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/is-there-a-read-only-option-in-jdbc-driver/m-p/8212#M3914</link>
    <description>&lt;P&gt;@Nativ Issac​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you tried these steps?&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create service principal&lt;/LI&gt;&lt;LI&gt;Create a PAT token on behalf of the service of the service principal.&lt;/LI&gt;&lt;LI&gt;Grant only READ privileges to the service principal on all catalogs.&lt;/LI&gt;&lt;LI&gt;Use the service principal token to access the tables in JDBC&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Fri, 31 Mar 2023 10:38:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-03-31T10:38:35Z</dc:date>
    <item>
      <title>is there a read only option in jdbc driver?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-read-only-option-in-jdbc-driver/m-p/8206#M3908</link>
      <description>&lt;P&gt;Is there a "read only" option when using databricks sql using jdbc driver?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking for an equivalent to this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.aws.amazon.com/redshift/latest/mgmt/jdbc20-configuration-options.html#jdbc20-readonly-option" target="test_blank"&gt;https://docs.aws.amazon.com/redshift/latest/mgmt/jdbc20-configuration-options.html#jdbc20-readonly-option&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 15:17:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-read-only-option-in-jdbc-driver/m-p/8206#M3908</guid>
      <dc:creator>624398</dc:creator>
      <dc:date>2023-03-06T15:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: is there a read only option in jdbc driver?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-read-only-option-in-jdbc-driver/m-p/8208#M3910</link>
      <description>&lt;P&gt;@Debayan Mukherjee​&amp;nbsp;Thanks for your reply - but I don't think this help my case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to let my app's users to be able to query over my databricks sql server, with prevention of editing data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Statements like drop, insert, delete, update, truncate, etc... should not be allowed in that context.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps I did not fully understand your suggestion...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 08:34:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-read-only-option-in-jdbc-driver/m-p/8208#M3910</guid>
      <dc:creator>624398</dc:creator>
      <dc:date>2023-03-09T08:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: is there a read only option in jdbc driver?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-read-only-option-in-jdbc-driver/m-p/8209#M3911</link>
      <description>&lt;P&gt;@Nativ Issac​&amp;nbsp;I would suggest to use a PAT token created on behalf of a service principal and grant SELECT privilege only to the service principal to the targeted catalogs/schemas/tables. Thus you can restrict the access to the data using JDBC. Please refer to below docs on the same topic. Hope this helps. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/dev-tools/api/latest/token-management.html#operation/get-token" alt="https://docs.databricks.com/dev-tools/api/latest/token-management.html#operation/get-token" target="_blank"&gt;https://docs.databricks.com/dev-tools/api/latest/token-management.html#operation/get-token&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/data-governance/unity-catalog/manage-privileges/privileges.html" alt="https://docs.databricks.com/data-governance/unity-catalog/manage-privileges/privileges.html" target="_blank"&gt;https://docs.databricks.com/data-governance/unity-catalog/manage-privileges/privileges.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/archive/spark-sql-2.x-language-manual/grant.html" alt="https://docs.databricks.com/archive/spark-sql-2.x-language-manual/grant.html" target="_blank"&gt;https://docs.databricks.com/archive/spark-sql-2.x-language-manual/grant.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Mar 2023 15:15:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-read-only-option-in-jdbc-driver/m-p/8209#M3911</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-11T15:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: is there a read only option in jdbc driver?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-read-only-option-in-jdbc-driver/m-p/8210#M3912</link>
      <description>&lt;P&gt;Hi @Nativ Issac​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope everything is going great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wanted to check in if you were able to resolve your issue. If yes, would you be happy to mark an answer as best so that other members can find the solution more quickly? If not, please tell us so we can help you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2023 09:57:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-read-only-option-in-jdbc-driver/m-p/8210#M3912</guid>
      <dc:creator>Vartika</dc:creator>
      <dc:date>2023-03-31T09:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: is there a read only option in jdbc driver?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-read-only-option-in-jdbc-driver/m-p/8211#M3913</link>
      <description>&lt;P&gt;Hello @Vartika Nain​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Still struggling with this&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2023 10:27:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-read-only-option-in-jdbc-driver/m-p/8211#M3913</guid>
      <dc:creator>624398</dc:creator>
      <dc:date>2023-03-31T10:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: is there a read only option in jdbc driver?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-read-only-option-in-jdbc-driver/m-p/8212#M3914</link>
      <description>&lt;P&gt;@Nativ Issac​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you tried these steps?&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create service principal&lt;/LI&gt;&lt;LI&gt;Create a PAT token on behalf of the service of the service principal.&lt;/LI&gt;&lt;LI&gt;Grant only READ privileges to the service principal on all catalogs.&lt;/LI&gt;&lt;LI&gt;Use the service principal token to access the tables in JDBC&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Fri, 31 Mar 2023 10:38:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-read-only-option-in-jdbc-driver/m-p/8212#M3914</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-31T10:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: is there a read only option in jdbc driver?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-read-only-option-in-jdbc-driver/m-p/8213#M3915</link>
      <description>&lt;P&gt;Hello @John Lourdu​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;Unfortunately, for my project purposes, I can't do your suggested solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The project I'm working on is getting credentials of a customer databricks sql server and can not create service accounts etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Getting the customer do your solution is not the best option for me: it's a large company so every interaction is a hassle in terms of bureaucracy and politics..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore I'm looking for a software solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope we can figure this out..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 02 Apr 2023 07:12:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-read-only-option-in-jdbc-driver/m-p/8213#M3915</guid>
      <dc:creator>624398</dc:creator>
      <dc:date>2023-04-02T07:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: is there a read only option in jdbc driver?</title>
      <link>https://community.databricks.com/t5/data-engineering/is-there-a-read-only-option-in-jdbc-driver/m-p/8207#M3909</link>
      <description>&lt;P&gt;Hi, You can refer to &lt;A href="https://docs.databricks.com/external-data/jdbc.html#read-data-with-jdbc" alt="https://docs.databricks.com/external-data/jdbc.html#read-data-with-jdbc" target="_blank"&gt;https://docs.databricks.com/external-data/jdbc.html#read-data-with-jdbc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please let us know if this helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also please tag&amp;nbsp;&lt;A href="https://community.databricks.com/s/profile/0053f000000WWwvAAG" alt="https://community.databricks.com/s/profile/0053f000000WWwvAAG" target="_blank"&gt;@Debayan&lt;/A&gt;​&amp;nbsp;with your next response which will notify me, Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2023 06:50:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/is-there-a-read-only-option-in-jdbc-driver/m-p/8207#M3909</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2023-03-09T06:50:30Z</dc:date>
    </item>
  </channel>
</rss>

