Skip to content
javabypankaj
HomeLibraryPopularCommunity
22
Security
4 topics · 20 questions
1Authentication & Authorization0/442JWT: Structure, Validation, Storage0/443OAuth2 & OpenID Connect0/554Web Vulnerabilities: SQLi, XSS, CSRF, SSRF0/7
1Authentication & Authorization42JWT: Structure, Validation, Storage43OAuth2 & OpenID Connect54Web Vulnerabilities: SQLi, XSS, CSRF, SSRF7
4 topics20 Qs0%
01Core Java17002OOP3203Collections6704Exception Handling2805Concurrency & Multithreading12706Java Streams, Lambda & Functional Programming32807Spring & Spring Boot2608Transactions3209JPA & Hibernate6910Microservices19411Kafka & Messaging9112DevOps, CI/CD & Tooling13313Database & SQL14114REST API & Web4015Design Patterns & LLD5716Advanced Java7117Coding Problems: DSA49218AWS & Cloud4119Data Engineering19420QA, Testing & SDET4121System Design3522Security2023Behavioral / HR: STAR Method37
4Topics
20Questions
0%Complete
4 of 4 topics
Topics
1Authentication & Authorization0/442JWT: Structure, Validation, Storage0/443OAuth2 & OpenID Connect0/55
4Web Vulnerabilities: SQLi, XSS, CSRF, SSRF0/77

Web Vulnerabilities: SQLi, XSS, CSRF, SSRF

Security·Topic 4 of 4·7 questions
Q1Broken Authentication and Best Practices

Protect the login itself: strong hashed passwords, lockout and rate limiting, MFA, and well-managed tokens.

Read Answer
Q2CSRF (Cross-Site Request Forgery) and How to Prevent It

CSRF rides the victim's auto-sent cookie; stop it with an unguessable token and SameSite cookies.

Read Answer
Q3Sensitive Data Exposure and How to Prevent It

Protect data at rest, in transit, and in logs: hash passwords, force TLS, and mask sensitive fields.

Read Answer
Q4SQL Injection and How to Prevent It with Parameterized Queries

Never concatenate user input into SQL: bind it as a parameter so data can never become code.

Read Answer
Q5SSRF (Server-Side Request Forgery) and How to Prevent It

SSRF makes your trusted server fetch attacker-chosen URLs: allowlist destinations and block internal and metadata addresses.

Read Answer
Q6Principle of Least Privilege

Grant the minimum permission needed so a compromise can do minimum damage.

Read Answer
Q7XSS (Cross-Site Scripting) and How to Prevent It

Escape untrusted data on output so the browser shows it as text, never runs it as script.

Read Answer
Previous · Topic 3OAuth2 & OpenID Connect5 questions
javabypankaj© 2026 javabypankaj
PrivacyTerms
HomeSearchLibrary