Topic 9.4.2 - Application Layer Protocols Flashcards
Explain the FTP (File Transfer Protocol)
Used for sending files between devices.
FTP services can be accessed anonymously or non-anonymously by using a username and password
Explain HTTP (Hypertext Transfer Protocol)
Delivers websites held by the web servers.
Explain HTTPS (Hypertext Transfer Protocol Secure)
Delivers websites held by the web server however it encrypts the information during this transmission
Explain POP3 (Post Office Protocol V3)
Used for retrieving emails from an email server.
Communicates with the server to check for any new messages
Explain SMTP (Simple Mail Transfer Protocol)
Used for sending emails.
Used between the client and the email server
Explain SSH (Secure Shell)
Used to remotely manage computers.
Requires a username / password in order to be able to remotely manage.
Encyrpts information during transmission.
How is Secure Shell used for remote management
Provides encrypted connections between the client and a remote device allowing them to communicate with each other.
How and why does a SSH client make a TCP connection to a remote port.
While other ports on a server may be blocked by the firewall, the SSH port will not be blocked, so it can make a TCP connection to the remote port.
Then you can send other requests like SMTP and POP3 even though they are blocked for everyone else who doesnt have access to the SSH
How is SSH secure
A username & password combination is needed to allow access to a remote computer
Information is encrypted during transmission
Explain the role of an email server in sending and retrieving emails
Email server works alongside POP3 and SMTP and are responsible for receiving and sending emails
SMTP sends email to email server.
Email server retrieves this email and communicates with POP3 to tell them there is an email ready to be collected
POP3 downloads the new email
Explain the role of a web server in displaying web pages in text form
Get request sent from browser to web server
Web server sends file to browser.
If there are multiple resources (text, video, photo) there will need to be a separate GET request for each additional resource
Browser displays webpage according to the HTML code
Explain the role of a web browser in retrieving web pages and resources.
Web browser receives Domain name from user.
Browser sends FQDN to DNS which returns the IP address.
Browser sends a GET request using the IP address to the Web server.
Web server sends the webpage to Browser
If multiple resources (image,video,links), a separate GET request will need to be performed for each resource
Browser displays webpage according to the HTML and CSS code.