Default encryption level

A

Art

Hi,

Is there any way I can set a default so that when I want to encrypt a
document I don't have to go into the advanced area and choose a strong
encryption algorithm?

Thanks
 
G

Graham Mayor

You could add the following lines to an autonew macro in the normal
template, which will set the encryption level for all new documents
e.g.

With ActiveDocument
.SetPasswordEncryptionOptions PasswordEncryptionProvider:= _
"Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider",
_
PasswordEncryptionAlgorithm:="RC4", PasswordEncryptionKeyLength:=128, _
PasswordEncryptionFileProperties:=True
End With


--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
A

Art

Graham,

Thanks -- I didn't know I could do that! I'm probably going to look at
Tony's suggestion first, but may wind up using yours.

Thanks again
 
A

Art

Tony,

Thanks for the suggestion. I'll take a look at the link and see how it
works out for me.
 
A

Art

Tony,

I tried the registry change and it appears to have worked perfectly. I did
have to add a number of nodes that weren't there, but it worked. Thanks very
much.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top