shiningElite schrieb:
... damit sich User anmelden können und dadurch nur auf bestimmte Dateien zugreifen können.
Für verschlüsseltes login und verschlüsselte Datenübertragung kannst Du einen ftp-Server benutzen, der SSL/TLS-Verschlüsselung kann. Z. B. vsftpd:
Q) Does vsftpd support SSL / TLS based encryption?
A) Yes, as of v2.0.0, this is supported for the control and data connections
(hurrah). You need a build of vsftpd with this support enabled, and then you
need to activate the ssl_enable setting. NOTE there are security considerations
with this support. Please make sure to read the ssl_enable section in the
vsftpd.conf.5 man page thoroughly before using.
Mit FTPS (implizites FTP oder FTP over SSL) erfolgt auch das login (d. h. die Useranmeldung) erst nach Herstellung der verschlüsselten Verbindung (d. h. alles verschlüsselt). Z. B. vom ftp-Client:
Status: Auflösen der IP-Adresse für xxxx.yyyyy.net
Status: Verbinde mit yy.xxx.###.xx6:#####...
Status: Verbindung hergestellt, initialisiere TLS...
Status: Überprüfe Zertifikat...
Status: TLS/SSL-Verbindung hergestellt, warte auf Willkommensnachricht...
Antwort: 220-"Your ID has been logged."
Antwort: 220
Befehl: USER xxxxx
Antwort: 331 Please specify the password.
Befehl: PASS ********
Antwort: 230 Login successful.
Befehl: SYST
...