英文:
How to set read permissions on a Databricks Unity catalog for a personal access token?
问题
我正在将Excel连接到Databricks以读取特定的Unity目录,然而,使用令牌的ODBC Simba连接允许访问所有Unity数据目录。
我如何限制此访问只针对单个Unity目录?
英文:
I'm connecting excel on Databricks to read a specific unity catalog, however, the odbc simba connection that uses the token allows access to all unity data catalogs.
How can I restrict this access to a single catalog unity?
答案1
得分: 1
Unity Catalog设置权限给角色,而不是个别令牌。PATs与特定用户相关联,因此如果用户可以访问目录,那么ODBC/JDBC驱动程序也将能够访问它们。但您需要检查自己是否真正可以访问数据,或者只是具有如文档中描述的USE_CATALOG
权限。
英文:
Unity Catalog sets permissions to the roles, not to the individual tokens. PATs are associated with the specific users, so if the user has access to the catalogs, then ODBC/JDBC driver will have access to them. But you need to check if you really have access to the data or you just have USE_CATALOG
, ... permissions as described in the docs.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论