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 learningSecure 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 learningSecurity 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 learningAuthentication and authorization
Understand authentication as identity verification and authorization as permission enforcement, including how applications protect resources and restrict access to operations.
Start learningIdentity 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 learningRole-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 learningAttribute-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 learningPassword 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 learningMulti-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 learningJWT authentication
Learn how JSON Web Tokens support authentication through signed claims, token validation, expiration, signing algorithms, and secure access to protected application endpoints.
Start learningOAuth 2.0 fundamentals
OAuth 2.0 fundamentals: Learn its key concepts, practical implementation, architecture, and interview considerations.
Start learningOpenID 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 learningSession management
Learn how applications manage authenticated sessions through secure cookies, session identifiers, expiration, renewal, invalidation, and protection against session hijacking.
Start learningAccess 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 learningOWASP 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 learningBroken 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 learningCryptographic failures
Learn how weak cryptography, exposed sensitive data, poor key management, and insecure encryption practices lead to security failures and data exposure.
Start learningInjection 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 learningSQL 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 learningCross-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 learningCross-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 learningServer-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 learningInsecure 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 learningSecurity misconfiguration
Understand how default credentials, excessive permissions, exposed error details, unnecessary services, and insecure configuration settings create exploitable application vulnerabilities.
Start learningIdentification and authentication failures
Explore authentication weaknesses such as credential stuffing, weak password policies, insecure recovery flows, session weaknesses, and improper identity verification.
Start learningPath 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 learningCommand 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 learningClickjacking
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 learningInput 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 learningOutput encoding
Understand contextual output encoding for HTML, JavaScript, CSS, and URL contexts to prevent untrusted data from being interpreted as executable content.
Start learningSecure API design
Explore secure API design principles covering resource protection, authentication, authorization, input validation, error handling, data exposure, and abuse prevention.
Start learningAPI 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 learningAPI 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 learningCORS 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 learningHTTPS 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 learningSymmetric 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 learningHashing and digital signatures
Explore cryptographic hashing for data integrity and digital signatures for authenticity, integrity verification, and non-repudiation using public-key cryptography.
Start learningEncryption 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 learningSecure 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 learningEnvironment 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 learningDependency 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 learningSoftware 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 learningSecurity 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 learningContent 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 learningHTTP 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 learningLogging and security monitoring
Explore security logging and monitoring practices for detecting suspicious activity, authentication failures, authorization violations, unusual traffic, and potential application attacks.
Start learningAudit 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 learningVulnerability assessment
Understand vulnerability assessment processes for identifying, classifying, prioritizing, and tracking security weaknesses using scanners, manual reviews, and risk analysis.
Start learningPenetration testing fundamentals
Learn the fundamentals of authorized penetration testing, including reconnaissance, vulnerability discovery, controlled exploitation, evidence collection, and remediation reporting.
Start learningThreat modeling
Explore threat modeling as a structured process for identifying assets, trust boundaries, entry points, potential attackers, security threats, and appropriate mitigations.
Start learningSTRIDE threat modeling
Understand the STRIDE threat modeling framework, covering Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, and Elevation of Privilege.
Start learningSecurity 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 learningStatic 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 learningDynamic 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 learningSoftware 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 learningSecure coding practices in C#
Secure coding practices in C#: Learn its key concepts, practical implementation, architecture, and interview considerations.
Start learningASP.NET Core authentication and authorization
ASP.NET Core authentication and authorization: Learn its key concepts, practical implementation, architecture, and interview considerations.
Start learningASP.NET Core Data Protection
ASP.NET Core Data Protection: Learn its key concepts, practical implementation, architecture, and interview considerations.
Start learningSecure ASP.NET Core Web APIs
Secure ASP.NET Core Web APIs: Learn its key concepts, practical implementation, architecture, and interview considerations.
Start learningDatabase security
Understand database security controls covering authentication, authorization, least-privilege permissions, encryption, auditing, backups, and protection against injection attacks.
Start learningSecure 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 learningWeb 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 learningCloud application security
Understand cloud application security responsibilities, including identity management, network restrictions, data encryption, secret storage, workload permissions, and cloud security monitoring.
Start learningContainer 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 learningSecurity incident response
Explore security incident response activities, including preparation, detection, containment, investigation, eradication, recovery, evidence preservation, and post-incident improvement.
Start learningPractice & 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.
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