Provided by Colasoft Co., Ltd.

CIFS ( Common Internet File System )

Home > Protocols > CIFS Update: 2005-11-07 17:37:37    I have words to say about this protocol
On this page
SUMMARY
Protocol : Common Internet File System
Protocol suite : SMB protocol suite
Layer : Application Layer
Related protocols : FTP,
DNS,
HTTP,
SMB.
DESCRIPTION
The Common Internet File System (CIFS) is the standard way that computer users share files across corporate intranets and the Internet. An enhanced version of the Microsoft open, cross-platform Server Message Block (SMB) protocol, CIFS is a native file-sharing protocol in Windows 2000.

CIFS defines a standard remote file-system access protocol for use over the Internet, enabling groups of users to work together and share documents across the Internet or within corporate intranets. CIFS is an open, cross-platform technology based on the native file-sharing protocols built into Microsoft Windows and other popular PC operating systems, and supported on dozens of other platforms. With CIFS, millions of computer users can open and share remote files on the Internet without having to install new software or change the way they work.

CIFS had its beginnings in the networking protocols, sometimes called Server Message Block (SMB) protocols, developed in the late 1980's for PCs to share files over the then nascent Local Area Network technologies (e.g., Ethernet).

CIFS incorporates the same high-performance, multiuser read and write operations, locking, and file-sharing semantics that are the backbone of today's sophisticated enterprise computer networks. CIFS runs over TCP/IP and utilizes the Internet's global Domain Naming Service (DNS) for scalability, and is optimized to support slower speed dial-up connections common on the Internet.


Background
In fact, most of the SMB traffic that crosses the Internet today has already integrated some of the feature set of CIFS into it. The fact is, SMB was designed for use in local area network environments. Because of this, security was very weak. CIFS addresses the security weaknesses of SMB by adding encryption and more secure authentication capabilities.

CIFS also adds a more flexible naming schema, allowing the user to name a CIFS file server using the computer name, a DNS entry, or an IP address. These features are already built into Windows NT and Windows 98. As you can imagine, it would be very difficult to connect to systems across the Internet using standard NetBIOS names每either an entry would have to be added to the LMHOSTS file every time a system was accessed or someone would have to manage a global WINS system.

SMB, as a LAN protocol, was not designed to work over slow dial-up links. It has some bad habits that do not work well over dial-up links, such as minimal support for client-side caching, a tendency to open and close a file for multiple writes, and no ability to connect to a different server according to the geographical location.

Together, SMB and these additional features make up the standard called CIFS. It is one of many standards currently being proposed for Internet file sharing, the most notable competitor being Sun*s WebNFS (covered briefly later in this chapter). Those who use SMB file sharing currently will find themselves migrating to CIFS whether they like it or not每NT 5.0 will support it exclusively. Fortunately, CIFS is backward compatible with the aging SMB protocols.

Key features CIFS offers
  • Integrity and concurrency
    CIFS allows multiple clients to access and update the same file while preventing conflicts by providing file sharing and file locking. File sharing and file locking is the process of allowing one user to access a file at a time and blocking access to all other users. These sharing and locking mechanisms can be used over the Internet and intranets. They also permit aggressive caching and read-ahead and write-behind without loss of integrity. File caches of buffers must be cleared before the file is usable by other clients. These capabilities ensure that only one copy of a file can be active at a time, preventing data corruption.


  • Optimization for slow links
    The CIFS protocol has been tuned to run well over slow-speed dial-up lines. The effect is improved performance for users who access the Internet using a modem.


  • Security
    CIFS servers support both anonymous transfers and secure, authenticated access to named files. File and directory security policies are easy to administer.


  • Performance and scalability
    CIFS servers are highly integrated with the operating system, and are tuned for maximum system performance.


  • Unicode File names
    File names can be in any character set, not just character sets designed for English or Western European languages.


  • Global File names
    Users do not have to mount remote file systems, but can refer to them directly with globally significant names (names that can be located anywhere on the Internet), instead of ones that have only local significance (on a local computer or LAN). Distributed File Systems (DFS) allows users to construct an enterprise-wide namespace. Uniform Naming Convention (UNC) file names are supported so a drive letter does not need to be created before remote files can be accessed.


The CIFS messages can be broadly classified as follows:
  • Connection establishment messages consist of commands that start and end a redirector connection to a shared resource at the server.

  • Namespace and File Manipulation messages are used by the redirector to gain access to files at the server and to read and write them.

  • Printer messages are used by the redirector to send data to a print queue at a server and to get status information about the print queue.

  • Miscellaneous messages are used by the redirector to write to mailslots and named pipes.


Some of the platforms that CIFS supports are:
  • Microsoft Windows 2000, Microsoft Windows NT, Microsoft Windows 98, Microsoft Windows 95

  • Microsoft OS/2 LAN Manager

  • Microsoft Windows for Workgroups

  • UNIX

  • VMS

  • Macintosh

  • IBM LAN Server

  • DEC PATHWORKS

  • Microsoft LAN Manager for UNIX

  • 3Com 3+Open

  • MS-Net


CIFS complements Hypertext Transfer Protocol (HTTP) while providing more sophisticated file sharing and file transfer than older protocols, such as FTP. CIFS is shown servicing a user request for data from a networked server in the following illustration.


CIFS is still in development. The most up-to-date version of the standard is defined in an informational RFC that does not currently have a number but is named Common Internet File System Protocol (CIFS/1.0). However, several features of CIFS have already worked themselves into the Windows NT operating system. For example, the SMB signing capabilities that were included in service pack 3 are an early release of the CIFS feature set

Many organizations are developing CIFS implementations. Because the CIFS standards are still evolving, the functionality implemented in each may vary. However, backward-compatibility is a strong point of the CIFS standards, so these varying levels of support should still be provided for transparent functionality.


Practical uses for CIFS
First, CIFS will replace any current file sharing occurring in organizations that choose to migrate to the newest version of Windows and Windows NT. So any situation you use file sharing in today will be supported by CIFS.

CIFS*s advantage really lies in its ability to internetwork. In this way, organizations may move their existing file sharing structure onto the Internet, forming a true extranet. The security provided for within CIFS will allow users within an organization to access files from anywhere每assuming they can get a connection to the Internet. It is less likely that companies will offer files to the public through CIFS shares. HTTP is better suited to this type of file-sharing because users who are not internal to an organization will require some guidance regarding which files are interesting and which are not每merely connecting to a shared folder and looking at filenames will not suffice.

CIFS provides speed advantages over SMB. Therefore, it is an excellent candidate anywhere files need to be served rapidly. One vendor, Network Appliance, creates a simple file-sharing system that serves files onto a network faster and with a greater capacity than any other file server is capable of. Network Appliance supports CIFS每thereby allowing any Windows and Windows NT clients to connect and share its resources. One potential use would be a shared file system for multiple front-end Web servers, perhaps based on Windows NT and IIS. In this way, many Web servers could serve the same files to users on the Internet without burdening the administrator with the task of replicating files between each Web server.

Top of Page

EXAMPLES

Top of Page


PROTOCOL RELATIONS
Parent layer
Child layer
TCP/UDP
CIFS
Top of Page

GLOSSARY
Authentication
The process of identifying an individual, usually based on a username and password. In security systems, authentication is distinct from authorization , which is the process of giving individuals access to system objects based on their identity. Authentication merely ensures that the individual is who he or she claims to be, but says nothing about the access rights of the individual.

CIFS
Common Internet File System (CIFS), a protocol that defines a standard for remote file access using millions of computers at a time. With CIFS, users with different platforms and computers can share files without having to install new software. CIFS runs over TCP/IP but uses the SMB (Server Message Block) protocol found in Microsoft Windows for file and printer access; therefore, CIFS will allow all applications, not just Web browsers, to open and share files across the Internet.

DNS
DNS(Domain Name System or Service or Server), an Internet service that translates domain names into IP addresses. Because domain names are alphabetic, they're easier to remember. The Internet however, is really based on IP addresses. Every time you use a domain name, therefore, a DNS service must translate the name into the corresponding IP address. For example, the domain name www.example.com might translate to 198.105.232.4.

The DNS system is, in fact, its own network. If one DNS server doesn't know how to translate a particular domain name, it asks another one, and so on, until the correct IP address is returned.

Encryption
The translation of data into a secret code. Encryption is the most effective way to achieve data security. To read an encrypted file, you must have access to a secret key or password that enables you to decrypt it. Unencrypted data is called plain text; encrypted data is referred to as cipher text.

There are two main types of encryption: asymmetric encryption (also called public-key encryption) and symmetric encryption.

FTP
FTP (File Transfer Protocol) is the protocol for exchanging files over the Internet. FTP works in the same way as HTTP for transferring Web pages from a server to a user's browser and SMTP for transferring electronic mail across the Internet in that, like these technologies, FTP uses the Internet's TCP/IP protocols to enable data transfer.

FTP is most commonly used to download a file from a server using the Internet or to upload a file to a server (e.g., uploading a Web page file to a server).

HTTP
HTTP(HyperText Transfer Protocol) defines how messages are formatted and transmitted, and what actions Web servers and browsers should take in response to various commands. For example, when you enter a URL in your browser, this actually sends an HTTP command to the Web server directing it to fetch and transmit the requested Web page.

The other main standard that controls how the World Wide Web works is HTML, which covers how Web pages are formatted and displayed.

HTTP is called a stateless protocol because each command is executed independently, without any knowledge of the commands that came before it. This is the main reason that it is difficult to implement Web sites that react intelligently to user input. This shortcoming of HTTP is being addressed in a number of new technologies, including ActiveX, Java, JavaScript and cookies.

LAN
Local-area network (LAN) is a computer network that spans a relatively small area. Most LANs are confined to a single building or group of buildings. However, one LAN can be connected to other LANs over any distance via telephone lines and radio waves. A system of LANs connected in this way is called a wide-area network (WAN).

Most LANs connect workstations and personal computers. Each node (individual computer ) in a LAN has its own CPU with which it executes programs, but it also is able to access data and devices anywhere on the LAN. This means that many users can share expensive devices, such as laser printers, as well as data. Users can also use the LAN to communicate with each other, by sending e-mail or engaging in chat sessions.

NetBIOS
NetBIOS(Network Basic Input Output System) is an API that augments the DOS BIOS by adding special functions for local-area networks (LANs). Almost all Windows-based LANs for PCs are based on the NetBIOS. Some LAN manufacturers have even extended it, adding additional network capabilities.

SMB
Server Message Block (SMB) is a message format used by DOS and Windows to share files, directories and devices. NetBIOS is based on the SMB format, and many network products use SMB. These SMB-based networks include LAN Manager, Windows for Workgroups, Windows NT, and LAN Server. There are also a number of products that use SMB to enable file sharing among different operating system platforms. A product called Samba, for example, enables UNIX and Windows machines to share directories and files.

Top of Page

REFERENCES


Top of Page

OTHER PROTOCOLS OF TCP/IP SUITE
AARP   RRP   RTP Video   RTP Audio   RTP   COPS   Gopher   HSRP   ICP   MPLS   IEEE 802.2   CIP   FTP - Data   FTP - Ctrl   IMAPS   IP Fragment   LDAPS   PUP   MSSQL   RSH   SQL   POP3s   RTELNET   RSVP   STP   VLAN   MSN   H.323   MSRDP   HTTPS   WINS   LPD   GTP   ICMPv6   POP   TELNET   H.225   VRRP   PIM   RARP   SAP   OSPF   RLOGIN   SCTP   SIP   RTCP   PPPoE   Mobile IP   IMAP3   WhoIs   SLP   NCP   PPTP   MGCP   LDAP   L2TP   Kerberos   IPv6   GRE   Ethernet SNAP   AFP   CIFS   IEEE 802.3   Finger   NBDGM   NetBEUI   NBSSN   ESP   EIGRP   EGP   DHCP   CGMP   CDP   BOOTP   AH   NBNS   EthernetII   ICQ   PPP   ARP   RIP   IPX   IGRP   IGMP   SSH   RPC   NetBIOS   TFTP   SNMP   SNA   SMB   RADIUS   NTP   NNTP   UDP   TCP   BGP   DNS   SOCKS   IMAP   RTSP   NFS   ICMP   IP   FTP   Telnet   POP3   SMTP   HTTP  
Search RFCs:

Advanced Search
Search Glossary:
Exact search
Fuzzy search


All Protocols
Submit a Request

Recommend an Article

 Layer 7 Application Layer
  AFP
  BOOTP
  CIFS
  CIP
  COPS
  DHCP
  DNS
  Finger
  FTP
  FTP - Ctrl
  FTP - Data
  Gopher
  HSRP
  HTTP
  HTTPS
  ICP
  ICQ
  IMAP
  IMAP3
  IMAPS
  Kerberos
  LPD
  MGCP
  MSN
  MSRDP
  MSSQL
  NCP
  NFS
  NNTP
  NTP
  POP
  POP3
  POP3s
  RADIUS
  RLOGIN
  RRP
  RSH
  RTCP
  RTELNET
  RTP
  RTP Audio
  RTP Video
  RTSP
  SAP
  SIP
  SLP
  SMB
  SMTP
  SNA
  SNMP
  SOCKS
  SSH
  Telnet
  TELNET
  TFTP
  WhoIs
  WINS
 Layer 6 Presentation Layer
  NBNS
  NBSSN
  NCP
  NetBIOS
 Layer 5 Session Layer
  LDAP
  LDAPS
  NCP
  NetBEUI
  RPC
 Layer 4 Transport Layer
  H.225
  H.323
  NBDGM
  NetBEUI
  PUP
  SCTP
  TCP
  UDP
 Layer 3 Network Layer
  AARP
  AH
  BGP
  EGP
  EIGRP
  ESP
  GRE
  GTP
  ICMP
  ICMPv6
  IGMP
  IGRP
  IP
  IP Fragment
  IPv6
  IPX
  Mobile IP
  MPLS
  OSPF
  PIM
  PPPoE
  RIP
  RSVP
  STP
  VRRP
 Layer 2 Data Link Layer
  ARP
  CDP
  CGMP
  Ethernet SNAP
  EthernetII
  IEEE 802.2
  IEEE 802.3
  L2TP
  PPP
  PPTP
  RARP
  SQL
  VLAN
 Layer 1 Physical Layer
© 2006 - 2007 Colasoft Co., Ltd. All rights reserved.