<?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: How to restrict external access to SQL Warehouse but allow workspace queries? in Warehousing &amp; Analytics</title>
    <link>https://community.databricks.com/t5/warehousing-analytics/how-to-restrict-external-access-to-sql-warehouse-but-allow/m-p/115741#M2018</link>
    <description>&lt;P&gt;Enable Workspace-Only Access to SQL Warehouses (Serverless or Classic)&lt;BR /&gt;If you're using Serverless SQL Warehouses, or even Classic, you can restrict them to workspace access only:&lt;/P&gt;&lt;P&gt;1.Only notebooks, dashboards, and SQL editor can connect.&lt;BR /&gt;2.External JDBC/ODBC clients (like Power BI) will be blocked.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Apr 2025 10:50:09 GMT</pubDate>
    <dc:creator>tltharani</dc:creator>
    <dc:date>2025-04-17T10:50:09Z</dc:date>
    <item>
      <title>How to restrict external access to SQL Warehouse but allow workspace queries?</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/how-to-restrict-external-access-to-sql-warehouse-but-allow/m-p/115738#M2017</link>
      <description>&lt;P class=""&gt;Hi everyone,&lt;/P&gt;&lt;P class=""&gt;I'm currently setting up access controls in our Databricks development workspace. The goal is to enable business users to explore data and build their SQL skills within the workspace itself (e.g., via SQL editor or notebooks), but &lt;STRONG&gt;prevent them from connecting to the SQL Warehouse externally&lt;/STRONG&gt;, such as from Power BI or other BI tools using JDBC/ODBC.&lt;/P&gt;&lt;P class=""&gt;This is because the environment is a &lt;STRONG&gt;sandbox&lt;/STRONG&gt; and not intended for enterprise reporting or external data access. We want to ensure that all data interaction remains within the Databricks environment.&lt;/P&gt;&lt;P class=""&gt;I’m looking for the best way to:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P class=""&gt;Allow SQL querying within the workspace for selected users.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Prevent any connections from external tools to the SQL Warehouse endpoint (e.g., blocking Power BI or DBeaver access).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Maintain this control without overly complicating access for internal development/testing.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;I’ve looked into IP Access Lists and Unity Catalog permissions but would appreciate any best practices, tips, or lessons learned from others who have implemented similar restrictions.&lt;/P&gt;&lt;P class=""&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 10:37:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/how-to-restrict-external-access-to-sql-warehouse-but-allow/m-p/115738#M2017</guid>
      <dc:creator>teixeire</dc:creator>
      <dc:date>2025-04-17T10:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict external access to SQL Warehouse but allow workspace queries?</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/how-to-restrict-external-access-to-sql-warehouse-but-allow/m-p/115741#M2018</link>
      <description>&lt;P&gt;Enable Workspace-Only Access to SQL Warehouses (Serverless or Classic)&lt;BR /&gt;If you're using Serverless SQL Warehouses, or even Classic, you can restrict them to workspace access only:&lt;/P&gt;&lt;P&gt;1.Only notebooks, dashboards, and SQL editor can connect.&lt;BR /&gt;2.External JDBC/ODBC clients (like Power BI) will be blocked.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 10:50:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/how-to-restrict-external-access-to-sql-warehouse-but-allow/m-p/115741#M2018</guid>
      <dc:creator>tltharani</dc:creator>
      <dc:date>2025-04-17T10:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict external access to SQL Warehouse but allow workspace queries?</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/how-to-restrict-external-access-to-sql-warehouse-but-allow/m-p/115748#M2019</link>
      <description>&lt;P&gt;Thanks for your reply, maybe you can guide me ?&lt;BR /&gt;&lt;BR /&gt;I set up two different as suggested, one as Serverless and another as Classic, and I could establish connection though catalogue using Power BI.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 11:12:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/how-to-restrict-external-access-to-sql-warehouse-but-allow/m-p/115748#M2019</guid>
      <dc:creator>teixeire</dc:creator>
      <dc:date>2025-04-17T11:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict external access to SQL Warehouse but allow workspace queries?</title>
      <link>https://community.databricks.com/t5/warehousing-analytics/how-to-restrict-external-access-to-sql-warehouse-but-allow/m-p/118087#M2049</link>
      <description>&lt;P class=""&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/159826"&gt;@teixeire&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P class=""&gt;To prevent external tools like Power BI or DBeaver from connecting to your SQL Warehouse, one effective approach is to &lt;SPAN class=""&gt;&lt;STRONG&gt;restrict personal access token (PAT) creation&lt;/STRONG&gt;&lt;/SPAN&gt; for users who should only query data inside the Databricks workspace.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;This ensures that:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Users cannot generate tokens to connect via JDBC/ODBC from outside.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Any existing tokens should be manually revoked if already created.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;In addition to token restrictions, you can control what users can do &lt;SPAN class=""&gt;inside&lt;/SPAN&gt; the workspace by using &lt;SPAN class=""&gt;&lt;STRONG&gt;Unity Catalog permissions&lt;/STRONG&gt;&lt;/SPAN&gt;. For example:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Grant &lt;SPAN class=""&gt;USE CATALOG&lt;/SPAN&gt;, &lt;SPAN class=""&gt;USE SCHEMA&lt;/SPAN&gt;, and &lt;SPAN class=""&gt;SELECT&lt;/SPAN&gt; only to users or groups who are allowed to run SQL queries.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Use cluster access control to make sure only selected users can run notebooks or use shared compute resources.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;With this combination, you allow SQL exploration within the workspace while fully blocking external access.&lt;BR /&gt;&lt;BR /&gt;Hope this helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Isi&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 08:56:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/warehousing-analytics/how-to-restrict-external-access-to-sql-warehouse-but-allow/m-p/118087#M2049</guid>
      <dc:creator>Isi</dc:creator>
      <dc:date>2025-05-07T08:56:25Z</dc:date>
    </item>
  </channel>
</rss>

