You are on page 1of 1

Session Layer (Layer 5)

The session layer is responsible for managing and controlling the


synchronization of data between applications on two devices. It does this by
establishing, maintaining, and breaking sessions. Whereas the transport layer
is
responsible for setting up and maintaining the connection between the two
nodes, the session layer performs the same function on behalf of the
application.
Protocols that operate at the session layer include NetBIOS, Network File
System
(NFS), and Server Message Block (SMB).
Presentation Layer (Layer 6)
The presentation layer’s basic function is to convert the data intended for or
received from the application layer into another format. Such conversion is
necessary because of how data is formatted so that it can be transported
across
the network. Applications cannot necessarily read this conversion. Some
common data formats handled by the presentation layer include the
following:
Graphics files: JPEG, TIFF, GIF, and so on are graphics file formats that
require the data to be formatted in a certain way.
Text and data: The presentation layer can translate data into different
formats, such as American Standard Code for Information Interchange
(ASCII) and Extended Binary Coded Decimal Interchange Code (EBCDIC).
Sound/video: MPEG, MP3, and MIDI files all have their own data formats
to and from which data must be converted.
Another important function of the presentation layer is encryption, which is
the
scrambling of data so that it can’t be read by anyone other than the intended
recipient. Given the basic role of the presentation layer—that of data-format
translator—it is the obvious place for encryption and decryption to take
place.
For example, the cryptographic protocol Transport Layer Security (TLS)
operates at the presentation layer.

You might also like