libunftp icon indicating copy to clipboard operation
libunftp copied to clipboard

fix anonymous mode

Open robklg opened this issue 3 years ago • 0 comments

unFTP currently runs either with an authenticator that implements actual user authentication, and anonymous access. But in various places in the code, we match on user names 'anonymous' or 'ftp'. While anonymous authenticator accepts any random username as valid...

So the fix should either be to let the anonymous authenticator allow only the 'anonymous' or 'ftp' account names, or create a function somewhere that can be called to figure out if unFTP is in anon mode or not.

robklg avatar May 21 '21 20:05 robklg