📝 Is FTP secure or insecure protocol (10 MCQs)
Security Properties of Traditional FTP
Traditional FTP was designed for file transfer rather than confidentiality, so its commands, usernames, passwords and file data are normally sent without encryption. Anyone able to capture traffic on an exposed network path may read this information. FTP's TCP reliability does not provide secrecy, authentication of the server or protection against message alteration. This design separates session control from the potentially lengthy movement of file contents.
Credential and Data Exposure on the Network
The control connection carries credentials and commands, while the data connection carries file content; both are exposed in ordinary FTP. A passive observer can capture the streams, and an active attacker may attempt interception or modification when the network path is not protected. Network access controls do not convert FTP itself into an encrypted protocol.
How FTP Traffic Can Be Observed or Modified
A client sends USER and PASS over an ordinary FTP control connection, then requests RETR payroll.csv. Without an additional security layer, the login exchange and file bytes can be visible to a packet observer. The server may authenticate the account successfully, but this does not establish confidentiality for the transmitted credentials or document.
A Plain FTP Login on a Shared Network
Consider a user transferring a document over a public wireless network using ordinary FTP. A person capturing nearby traffic may inspect unencrypted control messages and data. Replacing FTP with explicit or implicit FTPS protects FTP connections using TLS, while SFTP transfers files through the encrypted SSH protocol rather than FTP.
FTPS, SFTP and Safer File Exchange
FTPS adds TLS protection to FTP and must be configured for the control and data channels. SFTP is a separate file-transfer subsystem operating over SSH, usually through TCP port 22. HTTPS is for HTTP resources. Choosing a secure protocol also requires certificate or host-key verification and appropriate account permissions. This separation supports repeated operations within one authenticated control session.
Incorrect Assumptions About FTP Protection
'FTP passwords are encrypted because they require login' is false; authentication alone does not encrypt traffic. 'SFTP is simply FTP with SSL' is incorrect because SFTP uses SSH and has a different protocol design. 'FTPS and HTTPS are the same protocol' is wrong because FTPS protects FTP, while HTTPS protects HTTP exchanges.
Comparing FTP Security Options in Examinations
Exam questions often ask which FTP information can be exposed, why TCP does not make FTP secure, and how FTPS differs from SFTP. Identify TLS as the protection used by FTPS and SSH as the basis of SFTP. Include host verification, credential protection and data-channel protection when evaluating a secure file-transfer design.
FTP Security and Secure Transfer Terms
- Plain FTP - Transfers credentials and data unencrypted.
- FTPS - Adds TLS protection to FTP.
- SFTP - Transfers files through SSH.
- TLS - Protects data in transit cryptographically.
- SSH - Provides an authenticated encrypted channel.
- Host-key verification - Checks the identity of an SSH server.
📝 All Is FTP secure or insecure protocol MCQs
Q1. If an FTP server is switched from plain FTP to explicit FTPS, what is the most direct effect on the data transferred between client and server?
📖 Explanation: Explicit FTPS requires the client to issue the AUTH TLS command, after which the server negotiates TLS for both the control and subsequent data connections. Consequently, all traffic, including file contents, is protected by encryption, unlike plain FTP where data travels in clear text.
Q2. An organization enables anonymous FTP access but sets the upload directory permissions to read‑only for the anonymous user. What can be logically inferred about the risk of malicious file upload?
📖 Explanation: Even though the anonymous account cannot directly write new files, a malicious actor may use directory‑traversal techniques or exploit misconfigurations to target existing writable files. Therefore, the overall risk is lowered but not completely removed, and additional safeguards such as monitoring and strict path validation remain necessary.
Q3. When an FTP client uses active mode behind a NAT device, the server initiates the data connection to the client’s external IP address. Which chain of events most likely leads to a data‑exposure vulnerability?
📖 Explanation: In active mode, the server attempts to open a data connection to the client’s public address. The NAT translates this to the internal host, allowing the connection to succeed. If the FTP session is not encrypted, the data traverses the NAT in clear text, giving any eavesdropper on the path the opportunity to capture sensitive information.
Q4. Which statement correctly differentiates implicit FTPS from explicit FTPS?
📖 Explanation: Implicit FTPS expects the TLS handshake immediately after the TCP connection is established, typically on port 990, and all subsequent communication is encrypted. Explicit FTPS, by contrast, begins with an unencrypted session on the standard FTP port (21) and the client explicitly requests encryption using the AUTH TLS command before any sensitive data is exchanged.
Q5. Considering authentication mechanisms, encryption strength, and firewall friendliness, which assessment best compares SFTP and FTPS?
📖 Explanation: SFTP runs over the SSH protocol on a single, well‑known port (22), making it easier to permit through firewalls while still providing strong encryption and robust authentication. FTPS, which relies on TLS, often uses separate ports for control and passive data connections, requiring a broader port range to be opened, increasing the potential attack surface.
Q6. When upgrading an FTP server from TLS 1.0 to TLS 1.2, which of the following statements most accurately describes the security impact?
📖 Explanation: TLS 1.2 supports modern cipher suites such as AES‑GCM and provides forward secrecy, while also addressing vulnerabilities like POODLE and BEAST that affect older versions. Upgrading eliminates these weaknesses, ensuring that both control and data streams are protected with up‑to‑date cryptographic algorithms.
Q7. Applying the principle of least privilege to FTP user accounts, which configuration best satisfies this principle?
📖 Explanation: The principle of least privilege dictates that users receive only the permissions necessary to perform their tasks. By assigning each account a read‑only role limited to specific directories, the organization reduces the chance that a compromised credential can be used to modify or delete critical files.
Q8. How do firewall rules interact with passive FTP data ports to maintain secure connections?
📖 Explanation: In passive mode, the FTP server tells the client which high‑number ports it will listen on for data connections. The firewall therefore needs to permit inbound traffic to those ports; otherwise the client cannot establish the data channel, causing the transfer to fail or be forced into an insecure mode.
Q9. Design a secure FTP deployment that integrates authentication, encryption, and logging. Which of the following plans best synthesizes these requirements?
📖 Explanation: A robust deployment creates individual credentials for each user, mandates explicit FTPS so that encryption is started only after authentication, enforces complex password rules, and records every command and file transfer in immutable logs. This combination ensures accountability, confidentiality, and the ability to detect anomalous activity.
Q10. What is an FTP bounce attack?
📖 Explanation: The FTP bounce attack abuses the PORT command, which tells the server to open a data connection to a user‑specified IP and port. By supplying arbitrary target addresses, an attacker can induce the FTP server to connect to and potentially interact with services on other machines, facilitating port scanning or proxying attacks.