Controlled sharing is fundamental to distributed systems. We consider a capability-based distributed authorization system where a client receives capabilities (access tokens) from an authorization server to access the resources of resource servers. Capability-based authorization systems have been widely used on the Web, in mobile applications and other distributed systems. A common requirement of such systems is that the user uses tokens of multiple servers in a particular order. A related requirement is the token may be used if certain environmental conditions hold. We introduce a secure capability-based system that supports "permission sequence" and "context". This allows a finite sequence of permissions to be enforced, each with their own specific context. We prove the safety property of this system for these conditions and integrate the system into OAuth 2.0 with proof-of-possession tokens. We evaluate our implementation and compare it with plain OAuth with respect to the average time for obtaining an authorization token and acquiring access to the resource.
翻译:控制下共享对于分布式系统至关重要。 我们考虑一个基于能力的分布式授权系统,使客户从授权服务器获得能力(获取标记)以获取资源服务器的资源。基于能力的授权系统已经在网络、移动应用程序和其他分布式系统中广泛使用。这种系统的一个共同要求是用户按特定顺序使用多个服务器的标记。一个相关的要求是,如果某些环境条件维持不变,可以使用标记。我们引入一个基于安全能力的系统,支持“许可序列”和“文本 ” 。这允许有一定的许可序列,每个系统都有各自的特定背景。我们证明这些条件的安全属性,并将系统与OAuth 2. 0 和凭证合并。我们评估我们的实施情况,并与普通OAuth 相比,以获得授权凭证和访问资源的平均时间进行比较。