Media Upload Test

Security Features Active

✅ CSRF Protection

✅ Rate Limiting

✅ File Content Validation

✅ Origin Validation

✅ Request Header Validation

Test File Upload

Simple Test Upload

CSRF Token Test

Security Test Instructions

Test CSRF Protection:

  • Try uploading without a CSRF token (will fail)
  • Try uploading with an expired CSRF token (will fail)
  • Try uploading with a token from a different session (will fail)

Test Rate Limiting:

  • Upload 10 files quickly (11th will be blocked)
  • Wait 1 hour and try again (should work)

Test File Validation:

  • Try uploading an executable file (will fail)
  • Try uploading a file with wrong extension (will show warning)
  • Try uploading a file larger than 10MB (will fail)