Differentiate between CIFS and NFS in Computer Network.


CIFS stands for Common Internet File System. It is also known as Server Message Block. It is a network protocol whose most general use is sharing documents on a Local Area Network (LAN). The protocol allows a user to manipulate files just as if they were on the local computer.

Operations such as read, write, create, delete, and rename are all supported. The only difference is that the files are not on the local computer and are actually on a remote server.


NFS stands for Network File System. It is a type of file system mechanism that enables data storage and retrieval from multiple disks and directories across a shared network. Network File System is a protocol that operates on all the networks of IP-based.

It is implemented in that client/server application in which the server of NFS manages the authorization, authentication, and clients.


The major differences between CIFS and NFS are as follows −

CIFS stands for Common Internet File System.NFS stands for Network file system.
CIFS is developed as a common internet file system used to create limited access in windows operating systems.The network file system is compressed as NFS and mainly used on UNIX or LINUX operating systems.
It is more secure than NFS. Provides some security featuresIt is not a secure protocol.
It can have a complex implementation compared to NFS.It is easy to set up.
This protocol provides the sessions.This protocol does not provide the session.
This protocol needs 139 and 445 TCP ports and 137 and 138 UDP ports.This protocol needs 111 ports for both TCP and UDP.
This protocol can be used for transferring the files by Windows Operating systems.This protocol can be used for transferring the files by Unix and Linux Operating systems.

Updated on: 04-May-2021


Kickstart Your Career

Get certified by completing the course

Get Started