In OpenOffice writer, a document can be protected with a password. You can set a password to protect your document while saving a file. To save a file with password, click on “Save with Password”check box and then click “Save” button. Immediately it shows “Set Password” dialog box. Enter a password in “Enter Password to open” text box and retype the same password in “Confirm Password” box for confirmation. Finally click ‘OK’ button.