26.10.2012 Views

Internet Security - Dang Thanh Binh's Page

Internet Security - Dang Thanh Binh's Page

Internet Security - Dang Thanh Binh's Page

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

52 INTERNET SECURITY<br />

SMTP is usually implemented to operate over TCP port 25. The details of SMTP are<br />

in RFC 2821 of the <strong>Internet</strong> Engineering Task Force (IETF). An alternative to SMTP that<br />

is widely used in Europe is X.400.<br />

2.5.2 Post Office Protocol Version 3 (POP3)<br />

The most popular protocol used to transfer e-mail messages from a permanent mailbox<br />

to a local computer is known as the Post Office Protocol version 3 (POP3). The user<br />

invokes a POP3 client, which creates a TCP connection to a POP3 server on the mailbox<br />

computer. The user first sends a login and a password to authenticate the session. Once<br />

authentication has been accepted, the user client sends commands to retrieve a copy of one<br />

or more messages and to delete the message from the permanent mailbox. The messages<br />

are stored and transferred as text files in RFC 2822 standard format.<br />

Note that computers with a permanent mailbox must run two servers – an SMTP<br />

server accepts mail sent to a user and adds each incoming message to the user’s permanent<br />

mailbox, and a POP3 server allows a user to extract messages from the mailbox and delete<br />

them. To ensure correct operation, the two servers must coordinate with the mailbox so<br />

that if a message arrives via SMTP while a user extracts messages via POP3, the mailbox<br />

is left in a valid state.<br />

2.5.3 <strong>Internet</strong> Message Access Protocol (IMAP)<br />

The <strong>Internet</strong> Message Access Protocol (IMAP) is a standard protocol for accessing email<br />

from your local server. IMAP4 (the latest version) is a client–server protocol in<br />

which e-mail is received and held for you by your <strong>Internet</strong> server. You (or your e-mail<br />

client) can view just the subject and the sender of the e-mail and then decide whether to<br />

download the mail. You can also create, manipulate and delete folders or mailboxes on<br />

the server, delete messages or search for certain e-mails. IMAP requires continual access<br />

to the server during the time that you are working with your mail.<br />

A less sophisticated protocol is Post Office Protocol 3 (POP3). With POP3, your mail is<br />

saved for you in your mailbox on the server. When you read your mail, it is immediately<br />

downloaded to your computer and no longer maintained on the server.<br />

IMAP can be thought of as a remote file server. POP can be thought of as a ‘storeand-forward’<br />

service.<br />

POP and IMAP deal with receiving e-mail from your local server and are not to be<br />

confused with SMTP, a protocol for transferring e-mail between points on the <strong>Internet</strong>.<br />

You send e-mail by SMTP and a mail handler receives it on your recipient’s behalf. Then<br />

the mail is read using POP or IMAP.<br />

2.5.4 Multipurpose <strong>Internet</strong> Mail Extension (MIME)<br />

The Multipurpose <strong>Internet</strong> Mail Extension (MIME) is defined to allow transmission of<br />

non-ASCII data via e-mail. MIME allows arbitrary data to be encoded in ASCII and then<br />

transmitted in a standard e-mail message. SMTP cannot be used for languages that are<br />

not supported by seven-bit ASCII characters. It cannot also be used for binary files or to<br />

send video or audio data.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!