Media Security And Validation Rules¶
InfraLynx media upload handling must reject unsafe input before persistence.
Validation baseline¶
- filename is sanitized before storage
- content type must be on the allow list
- file size must be positive and under the configured maximum
- object links must use supported object types and non-empty IDs
Current allow list¶
image/pngimage/jpegimage/gifimage/webpapplication/pdftext/plain
Access control rules¶
- media endpoints require actor, tenant, and role headers
media:writeis required for uploadmedia:assignis required when creating object linksmedia:readis required for metadata and content retrieval- tenant isolation blocks cross-tenant access even when a record exists