News for hackers. Stuff that matters.
Re:Ory Keto, open source authorization server based on Googl... by nickthemagicman on Thursday April 08, 2021 @03:27PM (#26742702)
Can anyone give me a Google Zanzibar for dummies?

It's the first I'm hearing about it.

Is it Oauth for everything?

Re:Ory Keto, open source authorization server based on Googl... by jakemoshenko on Thursday April 08, 2021 @04:14PM (#26743202)
It's a really well designed distributed system for calculating access control decisions at scale. It makes a specific authorization CAP tradeoff that allows for consistency around access checks to different "versions" of a piece of content, allowing older content to be protected by checks served from read replicas and cache.

Full disclosure: I am a co-founder of a company building and hosting a Zanzibar implementation as a service: https://authzed.com

Re:Ory Keto, open source authorization server based on Googl... by nickthemagicman on Thursday April 08, 2021 @07:19PM (#26744961)
Thank you!

How does it integrate with apps it controls?

Are there libraries?

Or does it provide a data format to implement in the app you're working on?

Re:Ory Keto, open source authorization server based on Googl... by jschorr on Friday April 09, 2021 @12:20AM (#26746671)
Hi Nick,

In the case of Authzed, we provide a gRPC API [0] which can be used from any application or language that supports gRPC, as well as designed client libraries for specific languages [1] to make integration even easier.

Applications primarily integrate by making Check requests [2] at any point in which a protected resource is being accessed and Write requests [3] at any point in which permissions are granted or removed.

Source: I am the third cofounder at https://authzed.com :)

[0]: https://docs.authzed.com/api/overview

[1]: https://docs.authzed.com/lang/lib-index

[2]: https://docs.authzed.com/api/check

[3]: https://docs.authzed.com/api/write

Re:Ory Keto, open source authorization server based on Googl... by nickthemagicman on Friday April 09, 2021 @11:05AM (#26751436)
Awesome! Thank you! That makes sense. That's very interesting.
Re:Ory Keto, open source authorization server based on Googl... by kleton on Thursday April 08, 2021 @06:57PM (#26744826)
Is Zanzibar ganpati?
Re:Ory Keto, open source authorization server based on Googl... by tazjin on Thursday April 08, 2021 @07:09PM (#26744899)
No. Ganpati is a system that provides user & group information (not ACLs themselves), but it's only sort of related to Zanzibar.
Re:Ory Keto, open source authorization server based on Googl... by deadmutex on Thursday April 08, 2021 @04:40PM (#26743498)
> really well designed distributed system

Since you're an expert in this area, and I am lazy... :)

What makes it well designed? What are the top 2 or 3 things it does to make it a really well designed system?

Re:Ory Keto, open source authorization server based on Googl... by kyrra on Thursday April 08, 2021 @03:30PM (#26742739)
OAuth is just an identity tool (to say a login is a certain person). Zanzibar can be seen more as a ACL system that you can put across your system. So it is there to validate that a given user is able to access any specific resource.
Re:Ory Keto, open source authorization server based on Googl... by robertlagrant on Thursday April 08, 2021 @03:58PM (#26743043)
OAuth(2) are for access delegation. They are not for authentication or identity. For this reason, OIDC was built on top.
Re:Ory Keto, open source authorization server based on Googl... by throwaway3699 on Thursday April 08, 2021 @03:53PM (#26742997)
It is authorization (as opposed to authentication).