I have a project that creates a Word document, then it opens it within a web browser control.

I would like to add some security to these documents by placing a password on them.

How can I do this through vb code?