1. Network Security
What it protects:
Why it matters:
If someone breaks into a network, they can access everything connected to it.
Common Tools:
Simple Firewall Example (Conceptual)
# Block incoming traffic on port 23 (Telnet) iptables -A INPUT -p tcp --dport 23 -j DROP
This command blocks insecure Telnet traffic.
2. Application Security
What it protects:
Why it matters:
Applications often interact with users and databases. If insecure, they can be exploited.
Example: Secure Login (Basic PHP Example)
$stmt = $conn->prepare("SELECT * FROM users WHERE username = ? AND password = ?");
$stmt->bind_param("ss", $username, $password);
$stmt->execute();
This prevents SQL Injection by using prepared statements.
3. Information Security (InfoSec)
What it protects:
Core Principle: CIA Triad
Example:
Encrypting files to protect confidentiality.
# Encrypt a file using OpenSSL openssl enc -aes-256-cbc -salt -in file.txt -out file.enc
4. Cloud Security
What it protects:
Examples of cloud providers:
Why it matters:
Many businesses now store data in the cloud instead of physical servers.
5. Endpoint Security
What it protects:
Each device connected to a network is called an endpoint.
If one infected laptop connects to a company network, the whole company could be at risk.
6. Identity and Access Management (IAM)
What it protects:
Example: Role-Based Access Control (RBAC)
def check_access(role):
if role == "admin":
return "Full Access"
elif role == "user":
return "Limited Access"
else:
return "No Access"
Only certain roles get full permissions.
7. Operational Security (OPSEC)
What it protects:
Example:
8. Disaster Recovery & Business Continuity
What it protects:
Includes:
9. Cyber Threat Intelligence
What it does:
Example:
The ransomware WannaCry helped security experts understand global vulnerabilities.
10. Governance, Risk & Compliance (GRC)
What it focuses on:
Examples of security standards:
These guide organizations on how to manage cybersecurity properly.
How These Domains Work Together
Imagine a company:
They are all connected.
Compilation of All Code Blocks (Combined)
Below is every example combined into one single block as requested:
# ------------------------
# Firewall Example (Network Security)
# ------------------------
iptables -A INPUT -p tcp --dport 23 -j DROP
# ------------------------
# Encryption Example (Information Security)
# ------------------------
openssl enc -aes-256-cbc -salt -in file.txt -out file.enc
// ------------------------
// Secure Login (Application Security)
// ------------------------
$stmt = $conn->prepare("SELECT * FROM users WHERE username = ? AND password = ?");
$stmt->bind_param("ss", $username, $password);
$stmt->execute();
# ------------------------
# Role-Based Access Control (IAM)
# ------------------------
def check_access(role):
if role == "admin":
return "Full Access"
elif role == "user":
return "Limited Access"
else:
return "No Access"
<br />
<b>Deprecated</b>: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/home/voksinst/tutorials.voksinstitute.com/admin/topics.php</b> on line <b>265</b><br />