简体   繁体   中英

How secure is it to connect to an ftp server (iPhone SDK)

How secure is it to connect to an ftp server in an iPhone application? I want to connect to my ftp server in my app but am worried that the username and password can be revealed.

Any time you use FTP, assuming there's no other connection security (eg being tunnelled through an SSH or VPN connection), your username and password are sent in clear text.

This is why you should use a protocol like SFTP or SCP for file transfer.

It's not secure at all. Authentication is cleartext, and the nature of FTP makes it difficult to secure by bolting on SSH. VPN would work, if you have that.

FTP, like telnet, should be avoided. Use sftp instead.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM