mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (Jira)" <j...@apache.org>
Subject [jira] [Commented] (SSHD-1093) Help on permissions on SCP and SFTP operations
Date Wed, 21 Oct 2020 19:43:00 GMT

    [ https://issues.apache.org/jira/browse/SSHD-1093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17218548#comment-17218548
] 

Guillaume Nodet commented on SSHD-1093:
---------------------------------------

For SFTP, you can implement either a custom [https://github.com/apache/mina-sshd/blob/master/docs/sftp.md#sftpfilesystemaccessor] or
a custom [https://github.com/apache/mina-sshd/blob/master/docs/sftp.md#sftpeventlistener,] depending
on your exact needs.

For SCP, you can implement a [https://github.com/apache/mina-sshd/blob/master/docs/scp.md#scptransfereventlistener.] 
You can also provide custom ScpFileOpener and ScpTargetStreamResolver...

 

> Help on permissions on SCP and SFTP operations
> ----------------------------------------------
>
>                 Key: SSHD-1093
>                 URL: https://issues.apache.org/jira/browse/SSHD-1093
>             Project: MINA SSHD
>          Issue Type: Question
>            Reporter: Susmit Sarkar
>            Priority: Blocker
>              Labels: SCP, SFTP, mina
>
> We were doing a proof of concept and we are stuck. The use case is before any file operations
I need to check whether the user in session is having permissions to carry on the operations,
along with that we have a logic to check whether the command is valid or not for both SCP
and SFTP.
>   
>  The 2 pre-operations I am not able to perform and I am a bit confused, your guidance
and help will be highly appreciated.
>   
>  I am sharing the git location so it helps you guys see the code, it's a very small maven
project with FileSystem.
>   
>  We are not able to understand where should we implement the hook to achieve the above
use case
>   
>  Thank you again
>   
>  [https://github.com/Susmit07/sftp-poc]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org


Mime
View raw message