Security & Validation
Security and validation ensure your app handles input safely. Includes helper classes for Passwords, JWT, Rate Limiting, TOTP, CSRF Protection, and more. Learn to validate data and apply best security practices.
Table of Contents
- Cross-Site Request Forgery (CSRF) Protection
Learn how to secure your application against CSRF attacks by integrating CSRF tokens into forms and API requests. Prevent unauthorized actions, protect user data, and maintain application integrity.
- JWT-Based Authentication Helper Class
JWT helper class provides methods for handling authentication. With support for signing, decoding, and validating tokens, to ensure secure token-based authentication and makes it easy to manage.
- Secure Password Handling and Verification
Securely manage and validate user passwords in your application. The Password class supports hashing, rehashing, verification, strength checking, and breach detection using HIBP Pwned API.
- Rate Limiter and Throttling Middleware
Rate Limiter class provides a lightweight and flexible methods for controlling the frequency of requests made by clients to your application.
- Time-Based One-Time Password Authenticator
An interface for Time-Based One-Time Password (TOTP) generation and validation. It uses an AuthenticatorInterface implementation (e.g., Google Authenticator) to manage secrets, generate QR codes and
- Time-Based One-Time Password: Google Authenticator Client
Installation guides for the PHP Luminova framework highlight the benefits of using Composer for easy maintenance and ensuring you're always up to date with the latest framework and dependency.
- Input Rule-Based Validation
The Validation class allows you to define and apply rules to user-submitted data, ensuring inputs meet specific criteria before processing or saving to the database.
- Input Validation Rules
Comprehensive list of all built-in input validation rules in Luminova Framework, with parameters, usage examples, and detailed explanations for each rule type.