libunftp icon indicating copy to clipboard operation
libunftp copied to clipboard

Passwordless Support

Open JBrenesS opened this issue 2 years ago • 3 comments

Hi ,

I am creating an FTP server, but I want to login in with a client with an anonymous and passwordless user, therefore, I would like to know if there is a way to do that. I tried to use the Anonymous Autectication structure, but the server keeps asking to introduce a password.

Thanks @robklg

JBrenesS avatar Jul 13 '22 20:07 JBrenesS

@JBrenesS Hi @JBrenesS

I’m not sure if the unFTP specification / protocol actually allows passwordless logins unless you login with a client certificate. We do support passwordless login with client certificates if you use the jsonfile authenticator.

The anonymous authenticator will indeed always ask for a password but it can be just any random password

Do I understand correctly that what you are looking for is no password prompt at all?

hannesdejager avatar Jul 14 '22 06:07 hannesdejager

Hi @hannesdejager

Thanks for your swift response. Yeah, that's exactly what I was looking for.

JBrenesS avatar Jul 14 '22 13:07 JBrenesS

@JBrenesS Although this might be easily implemented on the server side, the question is if FTP clients will adhere to this, perhaps. Wil need looking into.

Mind sharing your use case?

hannesdejager avatar Jul 14 '22 13:07 hannesdejager