📜  CIFS 与 SMB 之间的区别

📅  最后修改于: 2022-05-13 01:58:10.729000             🧑  作者: Mango

CIFS 与 SMB 之间的区别

1. 通用 Internet 文件系统:

CIFS 代表通用 Internet 文件系统。它是由微软发明的,后来由 IBM 改进。 CIFS 是一个非常安全且经过身份验证的文件传输协议系统,用于通过网络或服务器传输文件。它是一个通过网络请求文件传输的公共平台。

让我们看看 CIFS 的一些重要特性:

  • Authenticated 文件传输协议,在 Authenticated 模式下,客户端需要使用用户名和密码进行身份验证才能访问服务器
  • 在服务器级别,多个用户可以毫无问题地通过网络访问数据。
  • 该文件传输协议具有高性能且易于使用。
  • 它允许通过网络编辑文件,这意味着用户可以直接通过服务器/网络编辑他们的文件。

2. 服务器消息块:

SMB 代表Server Message Block ,与 CIFS 类似,它也通过网络传输文件。 IBM 最初对其进行了改进,以实现 CIFS 的即兴版本。 SMB 允许客户端修改、读取和写入 LAN 服务器(局域网)上的文件。创建 SMB 是为了允许用户通过局域网修改文件并安全方便地与其他客户端共享。

让我们看看 SMB 的一些重要特性:

  • SMB 允许客户端通过网络交换文件、浏览网络、打印文档等。
  • SMB 提供了一种经过身份验证的互通机制,使客户端可以在完全保密的情况下进行通信。
  • SMB2 是 SMB1 的改进版本,它还提供符号链接功能。
  • SMB 版本 2 中减少了通过网络传输文件所需的指令和子命令的数量。

CIFS 与 SMB 之间的区别:

CIFS

SMB

When CIFS was created, there were lot of issues with the file transmission over the network like security, slow file transfers, length service requests, and so on.SMB was created to address the performance problems with the CIFS. SMB has expanded the size of file sharing over the server, resulting in a significant rise in computing requirements.
Hundreds of instructions and subcommands were used in the CIFS protocol to move a file across a machine. Users have difficulty keeping these commands up to date.SMB has reduced the number of instructions to nineteen. As a result, SMB is simple and practical for users to use.
Because CIFS did not perform any authentication checks during the file transfer, the file was not protected on the system. Any user on the system has access to the file. Highly sensitive files were not properly protected, and the file’s transparency was deteriorating.They have included a pre-authentication check in the current version of SMB, where the user must provide his or her login and password to access the specific file.
CIFS was considered as a chatty protocol with several bugs and network problems.SMB is able to overcome it by using pipelining method.
CIFS is commonly used in big organizations where a large number of employees must collaborate on significant amounts of data.SMB is a network protocol for high-level applications, This facilitates the storage of huge file data and the easy traversal of large files across a network.