如何为个人访问令牌在Databricks Unity目录上设置读取权限?

huangapple go评论80阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2023年6月18日 23:28:30
  • 转载请务必保留本文链接:https://go.coder-hub.com/76501264.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定