Essential Authentication Methods, Linux Filters, and Network Topologies

Posted by Anonymous and classified in Computers

Written on in English with a size of 3.73 KB

Authentication Methods

  • Password-Based Authentication
    • User logs in with username + password.
    • Common but vulnerable to brute-force and phishing attacks.
  • Multi-Factor Authentication (MFA)
    • Uses two or more factors:
      • Something you know (password)
      • Something you have (OTP, token)
      • Something you are (biometric)
    • Much more secure.
  • Biometric Authentication
    • Uses fingerprint, face, iris, or voice.
    • Fast and secure; used in phones and high-security systems.
  • Token-Based Authentication
    • Uses a hardware or software token to generate OTP.
    • Examples: Google Authenticator, RSA token.
  • Certificate-Based Authentication
    • Uses digital certificates (public/private key).
    • Used in HTTPS, VPNs, and secure enterprise systems.
  • Single Sign-On (SSO)
    • Login once to access multiple apps (e.g., Gmail and Drive).
    • Centralized and convenient for users.
  • Behavioral Authentication
    • Based on user behavior (typing, mouse movement).
    • Continuous and passive authentication.
    • An emerging technology.

Linux Filters and Pipelines

In the Linux operating system, filters are commands that take input, process it, and produce output, often used to manipulate text data. Common filter commands include:

  • grep: For searching.
  • sort: For sorting lines.
  • uniq: For removing duplicates.
  • wc: For counting lines, words, and characters.

For example, sort names.txt will display the sorted content of the file names.txt. A pipeline connects multiple commands using the pipe symbol (|), allowing the output of one command to serve as the input of the next. This creates a chain of processing steps. For instance, cat names.txt | sort | uniq reads a file, sorts the lines, and removes duplicates in one step. Filters and pipelines together enable powerful and efficient command-line data processing in Linux.

Network Topologies

Network topologies refer to the physical or logical layout of connected devices in a network.

  • Bus Topology: Connects all devices to a single central cable. It is easy to install and requires less cable, but a cable failure can bring down the whole network.
  • Star Topology: All devices connect to a central hub or switch. It is easy to manage and troubleshoot, but if the central hub fails, the entire network goes down.
  • Ring Topology: Connects devices in a circular fashion, where each device has two neighbors. It ensures equal access to resources, but one broken link can disrupt the entire network.
  • Mesh Topology: Involves each device connecting to every other device, offering high redundancy and reliability, but it is expensive and complex to install.
  • Tree Topology: A hybrid that combines multiple star topologies on a bus backbone. It is scalable and supports future expansion, but if the backbone fails, it affects the entire network.

Each topology suits different network sizes, needs, and budgets.

Related entries: