InterviewTreedInterviewTreed
All learning paths

Programming & Frameworks

Application Security

Prepare for application security interviews, covering secure coding, authentication, authorization, OWASP vulnerabilities, API security, cryptography, threat modeling, and security best practices for modern applications.

Your learning roadmap

Explore the key concepts

Use these subtopics as a study checklist. Start with the fundamentals, then progress to practical examples and interview preparation.

Application security fundamentals

Understand the core principles of application security, including protecting software from vulnerabilities, securing sensitive data, controlling access, and reducing risks throughout the application lifecycle.

Start learning

Secure Software Development Life Cycle (SSDLC)

Learn how security activities are integrated into every SDLC phase, including requirements, design, development, testing, deployment, and maintenance through a Secure Software Development Life Cycle.

Start learning

Security principles and best practices

Explore foundational security principles such as least privilege, defense in depth, secure defaults, separation of duties, fail-safe design, and minimizing attack surfaces.

Start learning

Authentication and authorization

Understand authentication as identity verification and authorization as permission enforcement, including how applications protect resources and restrict access to operations.

Start learning

Identity and access management

Learn identity and access management concepts covering user identities, account provisioning, authentication, authorization, access policies, identity lifecycle, and centralized access control.

Start learning

Role-Based Access Control (RBAC)

Understand how Role-Based Access Control assigns permissions to roles and users, enabling consistent access management based on organizational responsibilities.

Start learning

Attribute-Based Access Control (ABAC)

Explore Attribute-Based Access Control, where access decisions depend on user, resource, action, and environmental attributes evaluated through security policies.

Start learning

Password hashing and salting

Learn how passwords are securely stored using one-way password hashing and unique salts, including algorithms such as Argon2, bcrypt, and PBKDF2.

Start learning

Multi-factor authentication (MFA)

Understand multi-factor authentication using combinations of knowledge, possession, and inherence factors, including authenticator applications, hardware keys, and one-time codes.

Start learning

JWT authentication

Learn how JSON Web Tokens support authentication through signed claims, token validation, expiration, signing algorithms, and secure access to protected application endpoints.

Start learning

OAuth 2.0 fundamentals

OAuth 2.0 fundamentals: Learn its key concepts, practical implementation, architecture, and interview considerations.

Start learning

OpenID Connect

Understand how OpenID Connect adds an identity layer to OAuth 2.0 using ID tokens, claims, discovery endpoints, user information, and standardized authentication flows.

Start learning

Session management

Learn how applications manage authenticated sessions through secure cookies, session identifiers, expiration, renewal, invalidation, and protection against session hijacking.

Start learning

Access tokens and refresh tokens

Understand the roles of access tokens and refresh tokens, including token expiration, renewal, rotation, revocation, secure storage, and protection against token theft.

Start learning

OWASP Top 10

Explore the OWASP Top 10 awareness document and its major web application security risk categories, including access control failures, injection, cryptographic failures, and security misconfiguration.

Start learning

Broken access control

Understand broken access control vulnerabilities that allow users to perform unauthorized actions or access restricted resources, and learn how to enforce server-side authorization checks.

Start learning

Cryptographic failures

Learn how weak cryptography, exposed sensitive data, poor key management, and insecure encryption practices lead to security failures and data exposure.

Start learning

Injection vulnerabilities

Explore injection attacks in which untrusted input is interpreted as executable commands or queries, including SQL, command, and other interpreter-based injection vulnerabilities.

Start learning

SQL injection

Understand how attackers manipulate SQL queries through untrusted input and how parameterized queries, prepared statements, ORM safeguards, and least-privilege access prevent SQL injection.

Start learning

Cross-Site Scripting (XSS)

Learn how Cross-Site Scripting attacks inject malicious scripts into web pages, including reflected, stored, and DOM-based XSS, and how contextual output encoding and CSP reduce risk.

Start learning

Cross-Site Request Forgery (CSRF)

Understand how CSRF tricks authenticated users into submitting unintended requests and how anti-forgery tokens, SameSite cookies, and origin validation help prevent attacks.

Start learning

Server-Side Request Forgery (SSRF)

Explore SSRF vulnerabilities that cause servers to make unintended requests to internal or external systems, along with URL validation, network restrictions, and safe request handling.

Start learning

Insecure Direct Object References (IDOR)

Learn how IDOR vulnerabilities expose resources when applications rely on user-controlled identifiers without verifying ownership or authorization for each requested object.

Start learning

Security misconfiguration

Understand how default credentials, excessive permissions, exposed error details, unnecessary services, and insecure configuration settings create exploitable application vulnerabilities.

Start learning

Identification and authentication failures

Explore authentication weaknesses such as credential stuffing, weak password policies, insecure recovery flows, session weaknesses, and improper identity verification.

Start learning

Path traversal attacks

Learn how path traversal attacks manipulate file paths using directory traversal sequences to access unauthorized files, and how canonicalization and path restrictions prevent them.

Start learning

Command injection

Understand how untrusted input can alter operating system commands executed by an application and how safe APIs, argument handling, validation, and least privilege reduce the risk.

Start learning

Clickjacking

Explore clickjacking attacks that trick users into interacting with hidden or disguised page elements and learn how frame-ancestors CSP directives and X-Frame-Options provide protection.

Start learning

Input validation and sanitization

Learn how to validate input against expected types, formats, lengths, and business rules while sanitizing data appropriately to reduce injection and malformed-input risks.

Start learning

Output encoding

Understand contextual output encoding for HTML, JavaScript, CSS, and URL contexts to prevent untrusted data from being interpreted as executable content.

Start learning

Secure API design

Explore secure API design principles covering resource protection, authentication, authorization, input validation, error handling, data exposure, and abuse prevention.

Start learning

API authentication and authorization

Learn how APIs authenticate users and service clients and enforce access permissions using JWT, OAuth 2.0, scopes, roles, claims, and resource-level authorization.

Start learning

API rate limiting and throttling

Understand how rate limiting and throttling protect APIs against abuse, brute-force attempts, excessive traffic, and resource exhaustion using quotas and request-control algorithms.

Start learning

CORS security

Learn how Cross-Origin Resource Sharing controls browser-based cross-origin requests and how restrictive origin, method, header, and credential policies reduce exposure.

Start learning

HTTPS and TLS fundamentals

Understand how HTTPS uses TLS to encrypt network communication, authenticate servers through certificates, and protect application data against interception and tampering.

Start learning

Symmetric and asymmetric encryption

Compare symmetric encryption using shared secret keys with asymmetric encryption using public and private key pairs, including their performance and common application use cases.

Start learning

Hashing and digital signatures

Explore cryptographic hashing for data integrity and digital signatures for authenticity, integrity verification, and non-repudiation using public-key cryptography.

Start learning

Encryption at rest and in transit

Understand how encryption protects stored data and network communications, including database encryption, disk encryption, TLS, key management, and sensitive-data protection.

Start learning

Secure secrets management

Learn how to protect passwords, API keys, database credentials, certificates, and encryption keys using dedicated secret managers, access policies, rotation, and auditing.

Start learning

Environment variables and configuration security

Understand how to manage application configuration securely using environment variables and external configuration providers while avoiding exposed credentials and unsafe defaults.

Start learning

Dependency and package security

Explore risks from vulnerable third-party libraries and packages, including dependency scanning, version management, security advisories, patching, and trusted package sources.

Start learning

Software supply-chain security

Learn how to protect the software supply chain through trusted dependencies, package verification, build integrity, signed artifacts, provenance, and controlled release processes.

Start learning

Security headers

Understand HTTP security headers that help protect applications against browser-based attacks, including content restrictions, transport security, framing controls, and content-type enforcement.

Start learning

Content Security Policy (CSP)

Learn how Content Security Policy restricts permitted content sources and execution behavior through directives that reduce XSS and other content-injection risks.

Start learning

HTTP Strict Transport Security (HSTS)

Understand HSTS and how the Strict-Transport-Security header instructs browsers to use HTTPS for future connections, reducing downgrade and protocol-stripping attacks.

Start learning

Logging and security monitoring

Explore security logging and monitoring practices for detecting suspicious activity, authentication failures, authorization violations, unusual traffic, and potential application attacks.

Start learning

Audit trails and security events

Learn how audit trails record security-relevant activities, including user actions, permission changes, administrative operations, and access to sensitive resources.

Start learning

Vulnerability assessment

Understand vulnerability assessment processes for identifying, classifying, prioritizing, and tracking security weaknesses using scanners, manual reviews, and risk analysis.

Start learning

Penetration testing fundamentals

Learn the fundamentals of authorized penetration testing, including reconnaissance, vulnerability discovery, controlled exploitation, evidence collection, and remediation reporting.

Start learning

Threat modeling

Explore threat modeling as a structured process for identifying assets, trust boundaries, entry points, potential attackers, security threats, and appropriate mitigations.

Start learning

STRIDE threat modeling

Understand the STRIDE threat modeling framework, covering Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, and Elevation of Privilege.

Start learning

Security testing and code scanning

Learn how security testing and automated code scanning identify vulnerabilities through source analysis, dependency checks, dynamic testing, and security-focused test cases.

Start learning

Static Application Security Testing (SAST)

Understand SAST techniques that analyze source code, bytecode, or binaries without executing the application to identify potential security vulnerabilities early in development.

Start learning

Dynamic Application Security Testing (DAST)

Explore DAST techniques that test running applications from the outside by sending requests and analyzing responses for exploitable security weaknesses.

Start learning

Software Composition Analysis (SCA)

Learn how Software Composition Analysis identifies open-source and third-party dependencies, detects known vulnerabilities, evaluates licenses, and supports dependency risk management.

Start learning

Secure coding practices in C#

Secure coding practices in C#: Learn its key concepts, practical implementation, architecture, and interview considerations.

Start learning

ASP.NET Core authentication and authorization

ASP.NET Core authentication and authorization: Learn its key concepts, practical implementation, architecture, and interview considerations.

Start learning

ASP.NET Core Data Protection

ASP.NET Core Data Protection: Learn its key concepts, practical implementation, architecture, and interview considerations.

Start learning

Secure ASP.NET Core Web APIs

Secure ASP.NET Core Web APIs: Learn its key concepts, practical implementation, architecture, and interview considerations.

Start learning

Database security

Understand database security controls covering authentication, authorization, least-privilege permissions, encryption, auditing, backups, and protection against injection attacks.

Start learning

Secure file uploads

Learn how to secure file uploads through size limits, extension and content validation, file signature checks, safe storage locations, malware scanning, and controlled file access.

Start learning

Web application security best practices

Explore practical web application security practices covering secure authentication, session protection, input handling, browser defenses, encryption, dependency updates, and monitoring.

Start learning

Cloud application security

Understand cloud application security responsibilities, including identity management, network restrictions, data encryption, secret storage, workload permissions, and cloud security monitoring.

Start learning

Container security fundamentals

Learn container security concepts covering trusted base images, image scanning, least-privilege execution, runtime protection, secrets handling, network isolation, and patch management.

Start learning

Security incident response

Explore security incident response activities, including preparation, detection, containment, investigation, eradication, recovery, evidence preservation, and post-incident improvement.

Start learning

Practice & revise

Interview questions

Practice interview questions with answers, key points, and practical examples.

Test your knowledge

Explore 75 questions for this topic, covering concepts, practical examples, and interview scenarios.

Browse 75 questions

Keep learning step by step

Work through the concepts, practice explaining them in your own words, and use interview questions to check your understanding.

Explore another learning path