What is CIFS (Common Internet File System)? (original) (raw)

Last Updated : 23 Jul, 2025

The Common Internet File System (CIFS), additionally called Server Message Block (SMB), is a community file-sharing protocol used for gaining access to documents, printers, and different assets on a community. Initially advanced using IBM in the Eighties and later refined by way of Microsoft, CIFS/SMB has become the de facto popular for sharing files and sources in heterogeneous network environments, inclusive of Windows, Unix, Linux, and macOS systems.

What is CIFS?

CIFS or Common Internet File System is a file-sharing protocol that works in the Application and Presentation Layer. It is mainly used to provide shared access to all the local systems to the remote files or other services like printing remotely, it also provides access to the interprocess communication services, without being available in the same network.

It follows the basic Client-Server Architecture concept, in which a client makes the request and the server replies to it. A CIFS client i.e. any computer of that network can read, write, edit, and even delete files from the remote server. It also can communicate with any server in the network that has been set up to communicate with the CIFS client, there are no restrictions like it will only connect with specific devices that come with it.

CIFS was first developed by a Scientist named **Barry Feigenbaum, who worked at IBM at that point. Later it was acquired by Microsoft, in which they made some later modifications. Microsoft worked with other companies like Intel, IBM, 3Com, etc. to make it more suitable for their devices.

CIFS CLIENT

CIFS CLIENT

Working of CIFS

Generally, a Common Internet File System client initiates an application-level communication connection with a CIFS server. For instance, a user can use Windows File Explorer to visit a shared folder. Using a full duplex TCP session over port 139, the client establishes a NetBIOS session with the server, enabling it to access shared resources.

The client and server decide the dialect to use after establishing the NetBIOS session. After the client and server have decided on a dialect, the client requests a Unique Identifier (UID) from the server by sending authentication credentials, which are often a username and password. The client provides the authentication credentials and a list of its capabilities.

Thus, this step is crucial even if the server does not require authentication. Although Active Directory usually manages authentication, CIFS can also employ other authentication protocols like RADIUS.

Different Parts of CIFS

CIFS mainly consists of 3 parts/entities:

**1. Client: The Client is the originator of most of the messages/requests made by the user.

**2. Server: The Server on the other hand provides the maximum number of services according to the client's requests. Some sub-systems could be integrated into a CIFS server or they can work separately. Some of those services are given below -

**3. Application: The Application part takes control of the starting of any operation that will be done by the Client, which means that it acts as a trigger, it initiates the process which is then controlled by the Client. The application doesn't implement the CIFS protocol itself, rather it relies upon the client who implements the CIFS protocol directly and gains benefit from it. The Application can have a GUI, which is easier to handle by the users and it takes care of the Word Processing or File Management jobs.

CIFS Protocol Features

CIFS protocol has been widely updated by Microsoft after it acquired it, there are lots of features that were made available for CIFS by them.

Functionality of CISF

Difference Between CIFS and NFS

CIFS NFS
The Common Internet File System is shortened to CIFS. Network File System is shortened to NFS.
Windows operating systems share files using this protocol. Linux and Unix operating systems share files via this protocol.
The scalability is poor It has a lot of scalability.
The communication pace is mediocre Communication happens quickly.
The sessions are provided by this protocol The session is not provided by this protocol.
The CIFS protocol is dependable. The NFS protocol is unreliable.
Compared to the Network File System, the Common Internet File System is more secure. The protocol used by the network file system is not secure.
Its application is complex It is simple to set up and execute this protocol.