Understanding HTTP, FTP and Electronic Mail
Understanding HTTP, FTP and Electronic Mail
Electronic Mail
Introduction
• Overview of Internet Protocols
2
What is HTTP?
• DEFINITION
Hypertext Transfer Protocol (HTTP) is the foundation of data communication
for the World Wide Web.
• PURPOSE
Enables web browsers to communicate with servers and display content.
• PORT
Default port is 80; HTTPS (secure) uses port 443.
• STATELESS
Each HTTP request is independent, requiring no memory of previous
interactions. 3
How HTTP Works
Client-Server Model:
o Client (browser) sends a request to the server.
o Server responds with requested resources, such as HTML, images, and text.
Request-Response Cycle:
o Key methods include GET (retrieve data), POST (submit data), PUT, and DELETE.
Stateless Protocol:
o No built-in session memory; uses cookies to maintain state.
4
HTTP Advantages and Limitations
Advantages:
o Simple and widely supported.
o Compatible with almost all devices and operating systems.
Limitations
o Stateless nature complicates session handling.
o Security risks without HTTPS (vulnerable to eavesdropping).
What is FTP?
•Definition:
File Transfer Protocol (FTP) enables the transfer of files between computers on a
network.
•Purpose:
Designed for downloading and uploading files between servers and clients.
•Port:
Uses ports 20 and 21.
•Modes:
Active and Passive modes for connection management.
6
How FTP Works
•Client-Server Architecture:
Client initiates connection to the FTP server.
Uses commands like RETR (retrieve file), STOR (store file), and LIST (list directory
contents).
•Authentication:
Allows anonymous login or requires username/password.
Encryption can be added (FTPS or SFTP) for secure transfer.
7
FTP Advantages and Limitations
• Advantages:
Efficient file transfer for large files.
Allows batch transfers and supports directory operations.
• Limitations:
Lack of encryption in standard FTP (vulnerable to interception).
Often replaced by more secure methods like SFTP or FTPS.
8
Click icon to add picture
9
Email Advantages and Limitations
• ADVANTAGES:
• Fast and efficient global communication.
• Allows multimedia attachments.
• LIMITATIONS:
• Vulnerable to spam and phishing.
• Privacy concerns; requires encryption for secure communication.
10
Conclusion
• HTTP is essential for web browsing.
• FTP is used for transferring files between clients and servers.
• Electronic Mail provides reliable communication
11
thank you