Application Layer Unit 7 Cse 3
Application Layer Unit 7 Cse 3
TELNET:-
TELNET is an abbreviation for Terminal network.
It is a general purpose client server application program.
Local and remote log-in
Time sharing:-
TELNET was designed at a time when most operating
systems, such as UNIX, were operating in a time sharing
environment.
It supports to multiple users.
Logging:-
In a timesharing environment, users are part of the system
with some right to access resources.
Each authorized user has an identification and probably a
password.
To access the system, the users logs into the system with a
user id.
The system also includes password checking to prevent an
unauthorized user from accessing the resources.
ELECTRONIC MAIL
When the sender is connected to the mail server via a LAN or a WAN,
we need two UAs and two pairs of MTAs (client and server).
Fourth scenario in electronic mail
Push versus pull in electronic email
Services of user agent
SIMPLE MAIL TRANSFER PROTOCOL SMTP
The actual mail transfer is done through message transfer
agents.
To send mail, a system have the client MTA, and to receive a
mail, a system must have a server MTA.
The formal protocol that defines the MTA client and server in
the internet is called the SMTP.
It is used in the sender and sender’s mail server and between
the two mail servers.
It has the commands and responses.
SMTP uses commands and responses to transfer messages
between an MTA client and an MTA server.
Commands are sent from the client to the server.
It consists of a keyword followed by zero or more arguments.
Responses are sent from the server to the client.
A response digit code that may be followed by additional
textual information.
SMTP range
Commands and responses
Command format
Commands
Responses
Responses (continued)
Example
$ telnet mail.adelphia.net 25
Trying 68.168.78.100 . . .
Connected to mail.adelphia.net (68.168.78.100).
Example (continued)
Example (continued)
Message access agent POP3 and IMAP4
Two message access protocols are available POP and IMAP
POP is the Post office protocol version 3.
Internet mail access protocol version 4.
POP is simple and limited functionality.
POP3 begins when the user agents opens a TCP connection to
the mail server.
When the TCP connection is established, POP3 progresses
through three phases.
1.Authorization:- the User agent sends a username and a
password to authenticate the user downloading the mail.
2.Transaction:- the user agent receives messages.
3.Update:- after the client has issued quite command delete
the messages that are marked.
Mail agent connects as client to a POP3 server on the SMTP
host.
1.User sends login and password to authenticate session.
2.User client sends commands to retrieve a copy of one or
more messages and to delete messages from the permanent
mailbox.
3.SMTP server and POP3 server must synchronize access to
mailbox.
POP3 and IMAP4
The exchange of commands and responses in POP3
IMAP (internet message access protocol):-
IMAP is an internet protocol that allows a client to manipulate
E-mail messages that are stored on a mail server.
IMAP is similar to POP.
It allows clients to manipulate a remote access folder
(mailbox) in the same way they would manipulate local
mailboxes.
POP3 does not allow the user to partially check the contents of
the mail before downloading.
It has some additional functions
1.A user can check the e-mail header prior downloading.
2.A user can search the contents of the e-mail for a specific
string of characters prior to downloading.
3.A user can create, delete or rename mailboxes on the mail
server.
FILE TRANSFER
Dynamic documents
are sometimes referred
to as server-site
dynamic documents.
Active document using Java applet
Active document using client-site script