Shape Up Pitch: WebDAV Authentication and Authorization for backspaces.agentscript.org

Problem

We need a robust, decentralized authentication and authorization mechanism for the WebDAV server at backspaces.agentscript.org that integrates with our Digital Acequia framework. The solution must allow domain/subdomain owners to authenticate using their PKI keys and mount directories securely based on their domain or subdomain.

Additionally, the system should support delegation of access permissions by domain/subdomain owners to other users. For instance, backspaces (the username for Owen Densmore) may later grant read/write permissions to other users by issuing access tokens.

Appetite

We want to implement this feature as a test case within a 4-week cycle, ensuring:

Solution

Key Components

  1. Authentication via PKI and DNS TXT Records:
  2. CNAME-Based Directory Mapping:
  3. Authorization with ACLs:
  4. User-Managed Public Keys:
  5. Access Tokens for Delegation:
  6. Logging and Auditing:

Steps to Implement

  1. DNS Configuration:
  2. WebDAV Server Enhancements:
  3. Access Control:
  4. Public Key Management:
  5. Access Token Implementation:
  6. Testing and Debugging:

Rabbit Holes

Risks

Success Criteria

Team