BlucaScan Documentation
Scanner Configuration
Configure BlucaScan's scanning behavior, file size thresholds, and security policies to match your specific requirements.
Complete Scanner Configuration
Environment variables for processing/scanning setup
BLUCA_SCAN_SMALL_SIZED_FILE_THRESHOLD=10MB BLUCA_SCAN_LARGE_SIZED_FILE_THRESHOLD=100MB BLUCA_SCAN_ENABLE_STRICT_FILE_TYPE_CHECK=true BLUCA_SCAN_ENABLE_LENIENT_ON_DEMAND_SCAN=true BLUCA_SCAN_SUPPORTED_MEDIA_TYPES='text/plain','application/pdf','image/png','image/jpeg','image/gif','application/zip'
File Size Thresholds
Small File Threshold
Files under 10MB (10,485,760 bytes) are processed immediately
Default: 10MB
Large File Threshold
Files exceeding the threshold are processed in background
Background Processing
Security Settings
Strict File Type Check
Enforces strict validation of file types against MIME types
Enabled
Lenient On-Demand Scan
Allows flexible scanning for special cases
Enabled
Supported Media Types
File formats that BlucaScan can process and scan
Text Files
text/plain
Documents
application/pdf
Images
image/png
image/jpeg
image/gif
Archives
application/zip
application/x-rar-compressed
application/x-7z-compressed
Office Documents
Excel (.xlsx)
Word (.docx)
PowerPoint (.pptx)
Configuration Note: The scanner configuration is applied globally to all file uploads. Changes to these settings will affect all subsequent file processing.