TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Zanzibar: Google’s Consistent, Global Authorization System (2019)

238 点作者 themarkers大约 4 年前

23 条评论

aaronharnly大约 4 年前
Maybe a dumb question on standalone authorization services: does the authorization service end up having a representation for every single object in all of the rest of your datastores? (e.g. every document, every blob of storage, every user in every org).<p>If so, does that become a chokepoint in a distributed microservice architecture? Or can that be avoided with an in-process or sidecar architecture in which a given microservice&#x27;s objects are not separately referenced in auth persistence? If not, how do folks determine which objects to register with the auth service and which to handle independently?
评论 #26982443 未加载
评论 #26981651 未加载
评论 #26982380 未加载
评论 #26984673 未加载
评论 #26982052 未加载
评论 #26982829 未加载
评论 #26981535 未加载
kyrra大约 4 年前
This was talked about 2 years ago on here[0]. This service was also brought up in the discussion[1] of Ory Keto, as it&#x27;s based on Zanzibar.<p>[0] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=20132520" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=20132520</a><p>[1] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26738344" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26738344</a>
评论 #26980560 未加载
merqurio大约 4 年前
There is an Open Source (Go) implementation of &quot;Zanzibar&quot; called Keto [0] that integrates with the rest of the Ory ecosystem. We are actually testing it and looks great so far.<p>[0]: <a href="https:&#x2F;&#x2F;github.com&#x2F;ory&#x2F;keto" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ory&#x2F;keto</a>
评论 #26987590 未加载
gneray大约 4 年前
I&#x27;m curious what&#x27;s driving the resurgence in interest authorization infrastructure, particularly the Zanzibar paper. As founder of Oso (<a href="https:&#x2F;&#x2F;www.osohq.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.osohq.com&#x2F;</a>), I have my own opinions, and I think this is a good thing. But would love to hear others&#x27; points of view here.
评论 #26980792 未加载
评论 #26981319 未加载
评论 #26981763 未加载
评论 #26981229 未加载
评论 #26981906 未加载
taftster大约 4 年前
Here&#x27;s a decent twitter thread (2019) with some background on the project:<p><a href="https:&#x2F;&#x2F;twitter.com&#x2F;LeaKissner&#x2F;status&#x2F;1136631437514272768" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;LeaKissner&#x2F;status&#x2F;1136631437514272768</a>
dvdkon大约 4 年前
I&#x27;m currently building an abstracted authorization system for PostgreSQL, and one problem I ran into were timing attacks. Granted, I only had an unoptimised prototype, but querying a table and only checking if the user has permission to read the objects after the fact led to being able to differentiate &quot;no matching object&quot; and &quot;one unavailable matching object&quot;. From skimming the paper, it seems Google use this approach, why are timing attacks not a problem for them? Is it because authorization checks are so fast? Or because they make sure only to query available objects, only using Zanzibar as a final &quot;just in case&quot; guard?
评论 #26982717 未加载
评论 #26982820 未加载
评论 #26982247 未加载
shric大约 4 年前
One of the authors is Mike Burrows -- <a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Michael_Burrows" rel="nofollow">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Michael_Burrows</a>
pnocera大约 4 年前
I&#x27;m just wondering if there&#x27;s a one size fits all solution for authz. I spent a few days on a use case : - users have one or several roles ( these are hierarchical ) - there are some objects in the system ( hierarchical too, eg files and folders ) - there are different features available according to a user&#x27;s subscription. I ended up with a 30 lines program which given a set of rules calculates who can access what in less than a millisecond. Does it worth an over-engineered mega system ?
评论 #26981701 未加载
评论 #26981641 未加载
achalshah大约 4 年前
Not to be confused with Uber&#x27;s Zanzibar: <a href="https:&#x2F;&#x2F;github.com&#x2F;uber&#x2F;zanzibar" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;uber&#x2F;zanzibar</a>
amitkanfer大约 4 年前
Great paper, lots of it got blended into our tech at <a href="https:&#x2F;&#x2F;build.security" rel="nofollow">https:&#x2F;&#x2F;build.security</a>
btbuilder大约 4 年前
I’m curious about what their approach is to handle consistency with object creation and deletion in the client service. ie how do clients guarantee that the relevant ACLs are created and destroyed in Zanzibar when clients create and destroy their objects.<p>Destroy can be done asynchronously with durable messaging but asynchronous creation of ACLs is annoying from an api consumer perspective.
stevefan1999大约 4 年前
Is that a Metal Gear Solid[1] reference?<p>[1]: <a href="https:&#x2F;&#x2F;metalgear.fandom.com&#x2F;wiki&#x2F;Zanzibar_Land_Disturbance" rel="nofollow">https:&#x2F;&#x2F;metalgear.fandom.com&#x2F;wiki&#x2F;Zanzibar_Land_Disturbance</a>
评论 #26981761 未加载
评论 #26982094 未加载
pyuser583大约 4 年前
Why did they name it Zanzibar?<p>Zanzibar is an island off the coast of East Africa known for being a place where people traded cotton for enslaved humans.<p>Not sure the connection.
guenthert大约 4 年前
Hmmh, auditing doesn&#x27;t seem to be mentioned in that paper. I&#x27;d think that&#x27;s a mandatory feature of an authorization service.
评论 #26988520 未加载
KrishnaAnaril大约 4 年前
What is the status of xacml based solutions? Anyone using it?
评论 #26996502 未加载
SergeAx大约 4 年前
Should add &quot;(2019)&quot; to the title
sitkack大约 4 年前
How is it not a SPOF?
评论 #26988547 未加载
1f60c大约 4 年前
(2019)<p>(maybe?)
liotier大约 4 年前
Google stands on it.
评论 #26981367 未加载
wideareanetwork大约 4 年前
It’s so tempting to make some snide remark about it being cancelled.
评论 #26981008 未加载
评论 #26981198 未加载
aww_dang大约 4 年前
Interesting choice of name.<p><a href="https:&#x2F;&#x2F;www.researchgate.net&#x2F;publication&#x2F;325605315_The_1964_Zanzibar_Genocide_The_Politics_of_Denial" rel="nofollow">https:&#x2F;&#x2F;www.researchgate.net&#x2F;publication&#x2F;325605315_The_1964_...</a><p>&gt;On the fiftieth anniversary of the atrocious killing and raping of the Arabs of Zanzibar in the wake of the 1964 revolution in the Island, this paper sought to establish that this mayhem was genocide. In light of the almost complete failure to notice this tragedy, the paper pursued critical genocide studies and hidden genocide investigations to argue that this Arab tragedy in Zanzibar has been a denied genocide. Worse still, the paper showed that this genocide is commonly ignored even in studies devoted to bring to memory of hidden genocides life.
评论 #26984723 未加载
headmelted大约 4 年前
Somewhat off-topic I know, but I&#x27;d love to see this extended to some of the features that Sign in with Apple has in terms of private relay.<p>Signing in with Google yields (at a minimum) the e-mail address to the client which means that the list of third parties that have your e-mail (and can therefore spam you at will) is increasing exponentially. It would be great if Zanzibar extended the ACLs to include privacy controls with external services.<p>(Or I&#x27;m misunderstanding and this is only the component for internal Google authentication and not external federation for clients).
评论 #26981557 未加载
Olshansky大约 4 年前
I can&#x27;t get over the name because I definitely had a memorable experience going to Zanzibar in Toronto (<a href="https:&#x2F;&#x2F;www.yelp.ca&#x2F;biz&#x2F;zanzibar-toronto" rel="nofollow">https:&#x2F;&#x2F;www.yelp.ca&#x2F;biz&#x2F;zanzibar-toronto</a>) shortly after turning 19.