ftps和sftp有什麼區別?

當您正在為員工設定遠端檔案傳輸功能時,您希望事情儘可能簡單和安全。考慮到這一點,FTPS和SFTP哪個更好?今天的超級使用者問答帖子為一位好奇的讀者提供了答案。...

ftps和sftp有什麼區別?

當您正在為員工設定遠端檔案傳輸功能時,您希望事情儘可能簡單和安全。考慮到這一點,FTPS和SFTP哪個更好?今天的超級使用者問答帖子為一位好奇的讀者提供了答案。

今天的問答環節是由SuperUser提供的,SuperUser是Stack Exchange的一個分支,是一個由社群驅動的問答網站分組。

由kojihachisu(Flickr)提供的螢幕截圖。

問題

超級使用者讀者user334875想知道FTPS和SFTP之間的區別,以及哪個更好:

I am trying to set up a system for four of my employees who work remotely so that they can transfer files. I also need it to be secure. Is SFTP better than FTPS? What is the difference between the two?

兩者有什麼區別?哪一個更好?

答案

超級使用者貢獻者NuTTyX和Vdub為我們提供了答案。首先,NuTTyX:

They are two completely different protocols.

FTPS is FTP with SSL for security. It uses a control channel and opens new connecti*** for the data transfer. As it uses SSL, it requires a certificate.

SFTP (SSH File Transfer Protocol/Secure File Transfer Protocol) was designed as an extension of SSH to provide file transfer capability, so it usually uses only the SSH port for both data and control.

In most SSH server installati*** you will have SFTP support, but FTPS would need the additional configuration of a supported FTP server.

接著是Vdub的回答:

FTPS (FTP/SSL) is a name used to provide a number of ways that FTP software can perform secure file transfers. Each way involves the use of a SSL/TLS layer below the standard FTP protocol to encrypt the control and/or data channels.

Pros:

  • Widely known and used
  • The communication can be read and understood by a human
  • Provides services for server-to-server file transfer
  • SSL/TLS has good authentication mechani**s (X.509 certificate features)
  • FTP and SSL/TLS support is built into many internet communicati*** frameworks

C***:

  • Does not have a uniform directory listing format
  • Requires a secondary DATA channel, which makes it hard to use behind firewalls
  • Does not define a standard for file name character sets (encodings)
  • Not all FTP servers support SSL/TLS
  • Does not have a standard way to get and change file or directory attributes

SFTP (SSH File Transfer Protocol) is a network protocol that provides file transfer and manipulation functionality over any reliable data stream. It is typically used with the SSH-2 protocol (TCP port 22) to provide secure file transfer, but is intended to be usable with other protocols as well.

Pros:

  • Has a good standards background which strictly defines most (if not all) aspects of operati***
  • Has only one connection (no need for a DATA connection)
  • The connection is always secured
  • The directory listing is uniform and machine-readable
  • The protocol includes operati*** for permission and attribute manipulation, file locking, and more functionality

C***:

  • The communication is binary and can not be logged “as is” for human reading
  • SSH keys are harder to manage and validate
  • The standards define certain things as optional or recommended, which leads to certain compatibility problems between different software titles from different vendors.
  • No server-to-server copy and recursive directory removal operati***
  • No built-in SSH/SFTP support in VCL and .NET frameworks

有什麼要補充的解釋嗎?在評論中發出聲音。想從其他精通技術的Stack Exchange使用者那裡瞭解更多答案嗎?在這裡檢視完整的討論主題。

  • 發表於 2021-04-11 07:36
  • 閱讀 ( 47 )
  • 分類:網際網路

你可能感興趣的文章

appdata和programdata有什麼區別?

...區別是什麼。讓我們看看這兩個資料夾,看看它們的角色有什麼不同。 ...

  • 發佈於 2021-03-12 23:53
  • 閲讀 ( 60 )

roku express和roku streaming stick有什麼區別?

...請關注以下三個方面:Express、Express+和Streaming Stick。但是有什麼區別呢?我們來看看。 ...

  • 發佈於 2021-03-13 11:14
  • 閲讀 ( 46 )

是的,你可以隨時編寫程式碼:7個最適合android的html編輯器

你用你的安卓裝置做什麼?打電話?臉譜網?遊戲?看新聞?編碼? ...

  • 發佈於 2021-03-14 22:55
  • 閲讀 ( 62 )

7個最佳windows檔案資源管理器替代品和替代品

...管理器並使用第三方替代方案了?如果你從來沒有研究過什麼是可用的,你可能會感到驚訝。下面是七個最好的Windows檔案資源管理器替代品。 ...

  • 發佈於 2021-03-18 08:51
  • 閲讀 ( 51 )

哪種檔案傳輸方法最適合您的家庭網路?

...線嗎?NFS系統 想要一些真正不在乎你喜歡什麼的東西嗎?檔案傳輸協議 你不在家的時候需要安全嗎?SFTP公司 將音樂和影片流到電視上?德爾納 ...

  • 發佈於 2021-03-19 07:34
  • 閲讀 ( 54 )

windows的5個最佳免費ftp客戶端

...話說,即使有人攔截了你的傳輸,他們也看不到你在傳輸什麼。 ...

  • 發佈於 2021-03-25 21:12
  • 閲讀 ( 59 )

什麼是ftp?為什麼需要ftp伺服器?

... 那麼,什麼是FTP? ...

  • 發佈於 2021-03-30 13:16
  • 閲讀 ( 44 )

windows中的“shutdown/r”和“shutdown/g”有什麼區別?

...東西感到驚訝。以shutdown/r和shutdown/g命令為例。它們之間有什麼區別?今天的超級使用者問答帖子回答了一位好奇的讀者的問題。 今天的問答環節是由SuperUser提供的,SuperUser是Stack Exchange的一個分支,是一個由社群驅動的問答網...

  • 發佈於 2021-04-08 23:38
  • 閲讀 ( 63 )

如何使用sftp安全地將檔案傳輸給其他人

...。在本指南中,我們將介紹安全版本的FTP–SFTP,以及為什麼它是透過internet向其他人傳輸檔案的一種極好的方式。 為什麼選擇sftp? 極客們總是遇到這樣的問題:你的檔案太大了,無法透過電子郵件或即時通訊工具傳輸。當然...

  • 發佈於 2021-04-11 13:38
  • 閲讀 ( 36 )

如何將遠端sftp目錄整合到windows資源管理器中

...將遠端目錄整合到Windows資源管理器中有多容易。 我為什麼要這麼做? 開啟一個專用的SFTP客戶機進行偶爾的檔案傳輸並不是一件很麻煩的事,但是如果您經常訪問遠端目錄,例如將torrent或NZB檔案上載到watch目錄,頻繁更改web伺...

  • 發佈於 2021-04-11 18:57
  • 閲讀 ( 24 )
bfdqfgrojg491
bfdqfgrojg491

0 篇文章

作家榜

  1. admin 0 文章
  2. 孫小欽 0 文章
  3. JVhby0 0 文章
  4. fvpvzrr 0 文章
  5. 0sus8kksc 0 文章
  6. zsfn1903 0 文章
  7. w91395898 0 文章
  8. SuperQueen123 0 文章

相關推薦