Opened at 2011-02-04T03:30:47Z
Last modified at 2021-03-30T18:40:19Z
#1356 assigned enhancement
SFTP and FTP: allow logging in with an arbitrary cap URI as root directory — at Version 2
Reported by: | davidsarah | Owned by: | davidsarah |
---|---|---|---|
Priority: | major | Milestone: | soon |
Component: | code-frontend-ftp-sftp | Version: | 1.8.2 |
Keywords: | sftp sshfs usability test-needed | Cc: | |
Launchpad Bug: |
Description (last modified by davidsarah)
The SFTP and FTP frontends should allow logging in with username uri, and password an arbitrary cap URI.
Implementing this for SFTP can then be used to support a tahoe mount command (#1357), as suggested in ticket:1353#comment:3. For both SFTP and FTP, it is potentially useful to be able to log in with a root URI without having set up an account for it in the ftp.accounts file. (SFTP and FTP use the same code in src/allmydata/frontends/auth.py to handle logins, so it is simpler for them to behave the same.)
Note that you can already access an arbitrary cap URI via the /uri/ directory, but that does not have nearly as nice usability properties, because you can't access aliases that way. (Allowing access to aliases would provide ambient authority and so is not capability-secure.)
Change History (3)
comment:1 Changed at 2011-02-04T04:03:22Z by davidsarah
- Description modified (diff)
- Owner set to davidsarah
- Status changed from new to assigned
- Summary changed from SFTP: allow logging in with an arbitrary cap URI as root to SFTP: allow logging in with an arbitrary cap URI as root directory
comment:2 Changed at 2011-02-04T22:34:22Z by davidsarah
- Description modified (diff)
- Keywords test-needed design-review-needed added
- Summary changed from SFTP: allow logging in with an arbitrary cap URI as root directory to SFTP and FTP: allow logging in with an arbitrary cap URI as root directory
SFTP and FTP: allow logging in with an arbitrary cap URI as root directory. refs #1356