|
|
|
|
||||||
| comp.security.ssh SSH secure remote login and tunneling tools. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi,
is there a way to lock the way of a transfer in scp ? I mean, with a server A and B, is there a way, connecting from A to B, to allow data going from A to B but preventing transfers from B to A ? (the same way as ftp get/put does) Maybe with latest sftp release ? Thanks |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On 4 Sep, 10:36, Miss Terre <M...@Ter.re> wrote:
> Hi, > > is there a way to lock the way of a transfer in scp ? > > I mean, with a server A and B, is there a way, connecting from A to B, > to allow data going from A to B but preventing transfers from B to A ? > (the same way as ftp get/put does) > Maybe with latest sftp release ? > > Thanks Well, you could set the file ownership on A to prevent the users on B from being able to modify the files. Have them do downloads with a specific "download only" account and a set of user-supplied SSH keys, and you should be good. But for this kind of access control, SSH is often not your best bet. I keep saying this, but WebDAV over HTTPS works quite well and is well supported, and provides protection against symlink oddness that SCP does not. There's also rsync, or rsync over SSH: I suspect you could tunnel rsync over SSH to provide exactly this kind of access. |
|
![]() |
| Outils de la discussion | |
|
|