Flashcards

Quick study sessions to strengthen memory and retain key concepts.

Flashcard Study

Java: SQL Injection

Front

Mitigating SQL Injection with Prepared Statements?

Prepared statements safely handle user input in SQL queries. Using `PreparedStatement` in Java prevents SQL Injection by treating…

View Card →
Flashcard Study

Java: SQL Injection

Front

Understanding JWT token structure?

A JWT consists of a Header, Payload, and Signature. JWTs are composed of three parts: the Header, which…

View Card →
Flashcard Study

Java: SQL Injection

Front

BCrypt Work Factor's impact on hashing?

The work factor determines the computational cost of hashing. The BCrypt work factor specifies how intensive the hashing…

View Card →
Flashcard Study

Java: SQL Injection

Front

The dangers of password plaintext storage?

Plaintext storage exposes sensitive data if breached. Storing passwords in plaintext means they are directly readable if accessed…

View Card →
Flashcard Study

Java: SQL Injection

Front

Prepared Statements vs. Plain Queries?

Prepared statements provide security and efficiency. Prepared statements not only prevent SQL Injection but also improve performance by…

View Card →
Flashcard Study

Java: SQL Injection

Front

Impact of Not Validating JWT Claims?

Skipping validation can lead to unauthorized access. JWT claims like 'exp' (expiration) ensure tokens are valid only for…

View Card →
Flashcard Study

Java: SQL Injection

Front

SQL Injection Risks with String Concatenation?

String concatenation allows malicious input to alter queries. Concatenating user inputs directly into SQL queries enables attackers to…

View Card →
Flashcard Study

Java: SQL Injection

Front

Role of CSRF Tokens in Security?

CSRF tokens verify request authenticity. Frame the concept in practical terms so you can explain it during interview…

View Card →
Flashcard Study

Java: SQL Injection

Front

Preventing Stored XSS with HTML Encoding?

HTML encoding prevents execution of malicious scripts. Stored XSS occurs when malicious scripts are saved on a server…

View Card →
Flashcard Study

Java: SQL Injection

Front

Spring Security Filter Chain Role?

The filter chain processes HTTP requests for security checks. The Spring Security filter chain intercepts HTTP requests and…

View Card →