Skip to content

Java Security Interceptor

Compare
Choose a tag to compare
@imdeepakchahar imdeepakchahar released this 20 Nov 09:51
· 2 commits to main since this release

Java Security Interceptor

This project is a Spring MVC-based Java application that implements a security interceptor to validate incoming HTTP requests and prevent common vulnerabilities such as SQL Injection, Cross-Site Scripting (XSS), and malicious file uploads.

Features

  • SQL Injection Prevention: Detects and blocks SQL injection patterns in request parameters.
  • XSS Protection: Filters out potential cross-site scripting attacks.
  • File Upload Validation: Allows only specific file types to be uploaded.
  • Input Sanitization: Rejects inputs with dangerous characters, invalid UTF-8 encoding, null bytes, or newline characters.

Technologies Used

  • Spring Framework: Core framework for building the application and managing interceptors.
  • Java: Programming language.
  • Regex Patterns: Used for input validation.