Configuration
MIME Type Mappings
Overview
MIME type mappings define the relationship between file extensions and their expected MIME types. The scan engine uses these mappings to verify that files are what they claim to be — a critical defense against file extension spoofing attacks.
Accessing MIME Type Mappings
- Go to Settings → File Scan
- Scroll to Advanced Configuration
- Click the MIME-Type to Extensions Mappings tab
Why MIME Type Mappings Matter
Attackers often disguise malicious files by changing their extension. For example:
- A
.exefile renamed to.pdf - A
.htmlfile renamed to.jpg
When MIME type checking is enabled (see Scan Configuration), the engine compares the file's actual MIME type against what the extension declares. If there's a mismatch, the file can be blocked.
Managing Mappings
Each mapping row includes an extension and a MIME type.
- Add: Click Add New, enter extension and MIME type, click Save in the modal, then click the main Save.
- Edit: Select a mapping, update values, then click Save.
- Delete: Click the Delete icon for a mapping, confirm the dialog, then click Save.
Each Protection Profile can have different MIME type mappings.
Common MIME Type Examples
| Extension | MIME Type |
|---|---|
pdf | application/pdf |
docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document |
xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
jpg / jpeg | image/jpeg |
png | image/png |
zip | application/zip |
csv | text/csv |
html | text/html |
xml | application/xml |
json | application/json |