Replies: 1 comment 2 replies
-
If you could create a PR for this, it would be great! Found some more resources: http://www.datypic.com/sc/ooxml/a-w_hash-1.html I believe for the rsa AES stuff, we can use a library? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to restrict editing/only allow comments or force tracking changes, enforced with a password in a generated docx document? Like the
Review > Protect Document
button in Word? We want to generate such a Word document are a looking for the right library to do so.It is natively supported in Word, and it appears that the Open XML SDK has a binding for this, though idk how it works and don't really want to need to set up separate infrastructure to run this on our web service.
EDIT: just tried unzipping a docx file, saw the entry inside the
word/settings.xml
file - seems like some pretty simple XML to generate. Maybe I can contribute this if this type of functionality doesn't exist yet? Basically just this, where the crypto algorithm, password, and salt need to be provided - not sure how to use thersaAES
crypto provider Word generated by default, or how exactly it combines with the salt, but these are the possible values.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions