jmcnamara / libxlsxwriter

A C library for creating Excel XLSX files.
https://libxlsxwriter.github.io
Other
1.53k stars 336 forks source link

password #436

Closed TThityou closed 8 months ago

TThityou commented 8 months ago

How to create a file with a password?

When the document is opened by execl, it will be prompted for a password.I did not find how to set the password to the file in this project.Thank you for your answer.

jmcnamara commented 8 months ago

Libxlsxwriter only supports worksheet passwords which don't enable encryption and offers very weak protection.

To protect the entire workbook you could use msoffice-crypt. It has a command line application but also a library.