Security
Protect encrypted workbooks, uploads, generated output, temporary files, and spreadsheet formulas.
Updated
What you will learn
- Distinguish file encryption from workbook and worksheet protection.
- Choose the correct API for encrypted input or output.
- Apply production upload and formula-injection controls.
010203
Encrypted input
Open Standard or Agile encrypted XLSX workbooks through normal and large-reader APIs.
Encrypted and protected output
Create AES-256 password-to-open files and apply workbook-structure or worksheet editing restrictions.
Application security
Validate uploads, cap package resources, sanitize paths, prevent formula injection, and handle errors safely.
Was this guide useful?Use GitHub issues for corrections, missing examples, or unclear behavior.
Open an issue