-
Notifications
You must be signed in to change notification settings - Fork 476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to password protect an xlsx #245
Comments
After a bit of research I found out that the password protection right now works according to the ooxml specification, and, indeed, this does not change the file format itself. However with the current version you may prevent the sheets from being edited. To achieve this you should add the protection to each sheet in this fashion:
Full password protection is related to #276 |
@MassimoMessina Does that make sense? |
Hi, yes, but this is not preventing to open the file, and the content can be read without password.
best
Max
… On 6 May 2019, at 21:23, Gunnsteinn Hall ***@***.***> wrote:
@MassimoMessina <https://github.com/MassimoMessina> Does that make sense?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#245 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ACAEM2IEQFTLR5YWOCTRPLTPUCASZANCNFSM4G42MF5Q>.
|
That is not possible at the present. It requires implementation of #276. |
Description
I'm not able to set a password to open a workbook. If we save a workbook, the function Save() is producing a zip file that is not in the format required for the protected xlsx. Anyhow, I tried to protect using the setPassword() but it doesn't make the trick.
Expected Behavior
Actual Behavior
Please include a reproducible code snippet or document attachment that
demonstrates the issue.
The text was updated successfully, but these errors were encountered: