# Protecting Content in %PRODUCTNAME

/text/shared/guide/protection.xhp
protecting; contents
protected contents
contents protection
encryption of contents
passwords for protecting contents
security;protecting contents
form controls; protecting
draw objects;protecting
OLE objects;protecting
graphics;protecting
frames;protecting
mw moved 4 index entries to swriter/guide/protection.xhp
Protecting Content in %PRODUCTNAME
The following is an overview of the different ways of protecting contents in %PRODUCTNAME from being modified, deleted or viewed.
Protecting All Documents When Saving
All documents that are saved in OpenDocument format can be saved with a password. Documents that are saved with a password cannot be opened without the password. The content is secured so that it cannot be read with an external editor. This applies to content, graphics and OLE objects.

Turning on protection
Choose File - Save As and mark the Save with password check box. Save the document.
Turning off protection
Open the document, entering the correct password. Choose File - Save As and clear the Save with password check box.

Information entered in File - Properties is not encrypted. This includes the name of the author, creation date, word and character counts.
Protecting Revision Marking
With every change made in %PRODUCTNAME Calc and %PRODUCTNAME Writer, the review function records who made the change. This function can be turned on with protection, so that it can only be turned off when the correct password is entered. Until then, all changes will continue to be recorded. Acceptance or rejection of changes is not possible.

Turning on protection
Choose Edit - Changes - Protect Records. Enter and confirm a password of at least 5 characters.
Turning off protection
Choose Edit - Changes - Protect Records. Enter the correct password.

MW moved contents of "Protecting Cell Ranges in Calc" to the Calc guides cell_protect.xhp and cell_unprotect.xhp.
MW moved Writer specific contents to the new writer guide protection.xhp
Protecting Frames, Graphics, and OLE Objects
You can protect the content, position and size of inserted graphics. The same applies to frames (in Writer) and OLE objects.

Turning on protection
For example, for graphics inserted in Writer: Choose Format - Picture - Options tab. Under Protect, mark Contents, Position and/or Size.
Turning off protection
For example, for graphics inserted in Writer: Choose Format - Picture - Options tab. Under Protect, unmark as appropriate.

Protecting Drawing Objects and Form Objects
The draw objects that you insert into your documents with the Drawing toolbar can be protected from being accidentally moved or changed in size. You can do the same with form objects inserted with the Form Controls toolbar.

Turning on protection
Choose Format - Object - Position and Size - Position and Size tab. Mark the Position or Size check box.
Turning off protection
Choose Format - Object - Position and Size - Position and Size tab. Unmark the Position or Size check box.

removed webdav text, see i71792
MW moved "Opening Microsoft Office Documents That Are Protected With a Password" to shared/guide/ms_import_export_limitations.xhp
Protecting Content in %PRODUCTNAME Writer
Protecting Cells in %PRODUCTNAME Calc