4 Prevention - data security, PKI, IAM

one short security - aws security - last min rev

1. DATA SECURITY

Encryption

Note

AWS Encryption Services

  • CloudHSM: Hardware security module for key management & compliance.
  • AWS KMS: Fully managed cryptographic key service, integrates with AWS.

Hashing & Data Integrity

Access Control

Key Takeaways


2. Public key infrastructure

Note

  • AWS Certificate Manager (ACM): Automates SSL/TLS certificate provisioning & renewal in AWS.


3. PREVENTION - IDENTITY MANAGEMENT

Note

  • AWS Identity Management Services:
    • AWS SSO: Centralizes SSO access to AWS accounts.
    • Amazon Cognito: Manages user authentication for apps.
    • AWS IAM: Controls access to AWS resources using policies.

Key Points:


4. PREVENTION - IDENTITY AND ACCESS MANAGEMENT (AWS)


==NOTEBOOKLM SUMMARIZATION EXTRA THEORY ==

1. Data Security

Data Security and the Security Lifecycle The document emphasizes that data security is a critical aspect of the prevention phase within the broader security lifecycle. The security lifecycle consists of several stages: prevention, detection, response, and analysis. The document focuses on preventative measures used to secure data from potential threats.

The CIA Triad Information security is fundamentally based on the CIA triad: confidentiality, integrity, and availability.

Data in Motion vs. Data at Rest Data must be protected whether it is in motion (being transmitted) or at rest (stored on a device). Data in motion travels through networks and between devices, whereas data at rest is stored on devices such as smartphones, servers, and hard drives. The document underscores the need to use cryptographic techniques, encryption, and controls to secure data in both states.

Cryptography and Encryption

Practical Applications of Encryption The document provides examples of how encryption is used to protect data:

Types of Encryption The document outlines three primary types of encryption:

Comparison of Encryption Methods The document compares symmetric and asymmetric encryption based on several factors:

Feature Symmetric Asymmetric
Encryption Process Fast and straightforward Complex and time-consuming
Process Speed Fast (even with large data) Slow
Keys One key (128 or 256 bits) Two keys (2048 bits or higher)
Level of Security Very secure if the key is safe Offers higher security due to no shared key
Manageability Becomes complex with more keys Includes an easy-to-manage key system
Security Services Only confidentiality Non-repudiation, authentication, and more
Use Cases Transmitting large amounts of data Authentication and digital signatures

Hybrid Encryption Process

AWS Key Management Services

Hashing and Data Integrity

Permissions and Access Control

Key Points on Access Control

Checkpoint Questions

Key Takeaways


2. Public key Infrastructue

What is Public Key Infrastructure (PKI)?

Key Components of PKI

How PKI Operates

Uses of Certificates

Obtaining a Certificate

Certificate Lifecycle

Certificate Storage

AWS Certificate Manager (ACM)


3. PREVENTION - IDENTITY MANAGEMENT

Identity Management Overview

Core Principles: AAA

AAA Example

Authentication Factors

Personally Identifiable Information (PII)

Password Policies

Password Attacks

Tools and Services

AWS Specific Services


4. PREVENTION - IDENTITY AND ACCESS MANAGEMENT

Introduction to AWS Identity and Access Management (IAM)

Key Functions of IAM

IAM Components

Security Credentials

Authentication and Authorisation

IAM Implementation

IAM Policies

Types of IAM Policies:

Policy Assignment and Reusability

Example IAM Policy

Accessing AWS Services

Summary of the PDF

This PDF introduces AWS Identity and Access Management (IAM), a crucial service for controlling access to AWS resources. IAM allows you to manage users, groups, and roles, and to set permissions with policies that are stored as JSON documents. Key takeaways include: