Document Protection
Adding owner and user passwords to generated PDFs and also restricting certain actions can be done via the Document Protection button in the the Review Tab.
The following dialog appears, allowing customization of security flags and passwords.