Luminova Framework

Security & Validations

Apply input validation and context-specific escaping. Find guides for password handling, CSRF protection, content security policies, JWT, TOTP, and rate limiting.

Table of Contents

  1. Content Security Policy

    Luminova’s Content Security Policy guide covers resource directives, nonces and hashes for inline code, and violation reporting.

  2. Cross-Site Request Forgery (CSRF) Protection

    Luminova’s CSRF protection for form submissions and browser requests authenticated by cookies, including token generation, storage, and validation.

  3. Input Escaping & Sanitization

    Context-specific escaping in Luminova for HTML text, HTML attributes, JavaScript, CSS, and URL components.

  4. String-Based Input Validation Rules

    Luminova’s string-based validation rules, including how to combine checks, pass arguments, and customize error messages.

  5. Rule-Based Input Data Validation

    Field validation in Luminova for request data and arrays, including rule definitions, custom checks, and field-level errors.

  6. Class-Based Input Validation Rules

    Fluent validation rules in Luminova for field types, ranges, formats, and custom checks, with arguments and error messages.

  7. Sign and Validate JWT

    JSON Web Token signing and validation in Luminova, including key configuration, token claims, and optional server-side storage.

  8. Secure Password Handling and Verification

    Password hashing, verification, and rehashing in Luminova, with helpers for strength checks and checking for known breaches.

  9. Rate Limiter and Request Throttling

    Cache-backed rate limiting in Luminova for applications, controllers, and routes, with quota headers and retry timing.

  10. Time-Based One-Time Password Authenticator

    Time-based one-time password setup and verification in Luminova, including authenticator secrets and enrollment QR codes.

  11. Time-Based One-Time Password: Google Authenticator Client

    Luminova’s Google Authenticator-compatible TOTP client, including secret generation, enrollment URLs, code verification, and optional caching.