Understand authentication, authorization, XSLT sandboxing, OpenXML validation, and file controls.
Overview
Understand authentication, authorization, XSLT sandboxing, OpenXML validation, and file controls. Use least privilege and treat rendered data as confidential. Security controls must be tested whenever routes, XSLT capabilities, upload handling, or tenant resolution changes.
Key points
- JWT middleware protects API routes.
- Permissions are checked through the authentication service.
- DOCTYPE and entity declarations are rejected in protected transform paths.
- External and executable OpenXML content is prohibited for literal packages.
- Native XSLT blocks network, file, script, and extension access.
- Uploads are size-limited.
Recommended procedure
- Identify the role or service account.
- Grant only the required tenant and feature permissions.
- Confirm audit and error logging.
- Review data retention, secrets, and downstream service exposure.
Security checklist
- Apply least privilege to users and service accounts.
- Confirm the instance boundary on every data-management and render route.
- Keep transforms deterministic and isolated from files, networks, scripts, and environment secrets.
- Redact confidential XML and rendered content from routine logs.
- Review retention and deletion requirements for templates, resources, logs, and generated files.
Troubleshooting
A user can see too much
Review tenant resolution, global ownership, role permissions, and any request-body owner override.
Logs contain sensitive document data
Redact request bodies and downstream responses and apply a documented retention period.
A transform is rejected as unsafe
Rewrite it to use only supplied input data and permitted deterministic XSLT instructions.
Related documentation
- Audit Actions and Error Logging
- Technical Limits, Privacy, and Retention
- Tenant Administration and Isolation
Documentation source: feradelinc/feradel.render.api, reviewed against repository revision b2c3a710. Verify behavior against the deployed release before publishing exact routes, limits, or version requirements.