Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AIP-56][Discussion] Resource Access Control #270

Open
thepomeranian opened this issue Oct 27, 2023 · 1 comment
Open

[AIP-56][Discussion] Resource Access Control #270

thepomeranian opened this issue Oct 27, 2023 · 1 comment
Assignees

Comments

@thepomeranian
Copy link
Collaborator

thepomeranian commented Oct 27, 2023

AIP-56 - Resource Access Control

Summary

In Move, functions can access arbitrary resources as long as they have access to public APIs allowing to manipulate the resource. There are multiple problems with this, as discussed in the Motivation section. This AIP proposes an extension to the Move language which allows for fine-grained access control of resources. This is achieved by generalizing the familiar acquires T declaration in Move in a downwards compatible way. The evaluation of the resulting access control discipline is primarily dynamic, but intended to become static in the future. The dynamic-first approach is natural because the redundancy principle of "paranoid" VM mode makes a dynamic check necessary anyway.

Goals

This AIP intends to achieve the following:

  • Have an organic extension of the Move language to support access control, which is fully downwards compatible
  • Enable new strategies for parallelization and sharding
  • Increase confidence in the effects of transactions and functions for users and auditors by access control declarations
  • Enable safe dynamic dispatch by making access control part of a type.

Read more about it here: Link to AIP

@vineethk
Copy link

vineethk commented Nov 7, 2023

@thepomeranian Note that the link to AIP at the very bottom is broken currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants