GPO enforcement for existing unencrypted documents

Hi everyone,

I’ve configured a GPO to prevent users from storing credentials in unencrypted documents. When creating a new document, an error is shown when the user try to create a new credential in it without encryption configured. That’s exactly what’s expected:

But today I’ve found out that if you open an existing unencrypted document that already contains credentials, the GPO is not enforced properly.

My use case is to deploy a personal template document with empty named credentials used in another shared document (Specify a credential name) that new users can update with their own logins & passwords and ensuring seamless usage of the shared document.

The user still get a warning message about the risk of storing credentials or sensitive data in an unencrypted document:

Unfortunately, if the user click on the “No” button (or Yes and cancel the document options dialog), the modifications are still applied in the document and it can be saved as-is, with clear text passwords.

It may be good to force the user to enable the encryption to be able to continue modifications on the document when the GPO is enabled.

Also opening an unencrypted document that already contains credentials (with filled passwords field, private keys or protected fields) may trigger a blocking warning forcing the encryption setup before continuing.

Of course, if this is a shared document, it may be tricky to ensure correct handling of the new encrypted format for other users who already have opened the same file (the merge may revert the encryption :thinking:). A check before merging modifications may be needed, but handling the transition will not be as simple as expected…

Feel free to comment :winking_face_with_tongue:

Best Regards,

Nicolas.

Hi Nicolas!

Thanks for the feedback. That’s a tricky one! Maybe I can improve it and force users to create a document password.

cheers,
Stefan

Hi Nicolas,

the next release will have a better handling.

You still can open unprotected documents with credentials but you can’t save them until you provided a password. Forcing to provide a password in the open flow was too restrictive and had a couple complicated side effects.

Check it out when the next version is available and let me know if this works for you.

Regards,
Stefan

Hi Stefan !

Thank you for the quick patch as always :wink:

I’ve seen the update notice, I’ll install it on a computer at work to do some tests and keep you tuned!

Best Regards,
Nicolas.