Protect Selected Writer Text with a Section Password

Use a protected section when you want a specific part of a Writer document to be read-only unless someone knows its password. Select or create a section around that text, enable both Protected and With password, and store the password safely; this prevents ordinary edits, but it does not encrypt the document or hide its contents.

What does a section password protect?

A section is a named region of text inside a Writer document. Section protection makes that region resistant to editing and requires the password to remove its protection or change protected settings. It is useful for keeping approved wording, instructions, or a finalized clause from being changed by accident while leaving the rest of the document editable.

It is not a confidentiality feature. The LibreOffice Help page explicitly describes section protection as a switch against accidental changes, not information security. Readers may still see the text. If you need to stop people from opening or reading the file, use document encryption instead: for an OpenDocument file, choose File > Save As and select Save with password. These are different controls with different jobs. Review LibreOffice’s Writer protection guidance and its document-password help before choosing.

How do you protect new text with a password?

  1. Select the exact text. In Writer, drag across the paragraphs you want to lock. Include the complete paragraphs and any headings that should be part of the protected block. Do not select surrounding content that other people need to edit.
  2. Make the selection a section. Choose Insert > Section. In the dialog, give the section a recognizable name, such as “Approved policy text.” A useful name makes it easier to identify the correct region later. If you select only part of a paragraph, Writer converts that text into its own paragraph, so select complete paragraphs when you want the layout to stay predictable. See LibreOffice’s instructions for inserting sections.
  3. Turn on both protection options. Under Write protection, select Protected and With password, then click Password…. Enter and confirm the password. Current LibreOffice Help specifies at least five characters; choose a longer, unique passphrase rather than relying on that minimum.
  4. Apply the section and save. Confirm the password dialog, then click Insert in the section dialog. Save the document in its working format. Keep the password in an approved password manager or another secure place; LibreOffice cannot recover a forgotten section password for you.
LibreOffice Writer document with a paragraph selected and the Insert menu open, with Section highlighted.
Select only the paragraphs to protect, then open Insert and choose Section.
Insert Section dialog showing a section name and the Protected and With password controls under Write protection.
Name the new section, enable protection, and use the password controls in the section dialog.
Set Password dialog with Password and Confirm fields containing masked characters and OK and Cancel buttons.
Enter the same password in both fields and confirm it.

How do you password-protect a section that already exists?

If the text is already a section, you do not need to create another one. Choose Format > Sections, select the section by its name, and enable Protected and With password under Write protection. Click Password…, enter and confirm the password, then apply the change. The official Editing Sections instructions describe selecting a section from this dialog and changing its protection.

Afterward, reopen Format > Sections and check the section list. LibreOffice shows a closed lock beside a protected section. If you do not see the section, check that you selected the intended name and that the text was actually made into a section rather than merely highlighted.

LibreOffice Writer Format menu open beside the Sections dialog, with a closed lock beside Protected Section.
The closed lock in the Sections list is the visual check that this section is protected.

How do you test or remove the protection?

Save the file, click inside the protected text, and try to make a harmless change. Writer should prevent the edit or show a warning. Then try editing a paragraph outside the section; that text should remain editable. This two-part check catches both a section that was never protected and a selection that accidentally included too much of the document.

To make a later change, choose Format > Sections, select the locked section, clear Protected, and enter the correct password when prompted. Apply the change, edit the text, and restore protection afterward if the section should remain locked. To change the password without removing the section, use the same dialog’s Password… control and enter the current password followed by the new one as prompted. Do not remove or recreate the section unless you intend to change its structure.

What should you check before sharing the document?

  • Confirm the locked text is in a section and the section list shows a closed lock.
  • Test that text inside is blocked while text outside remains editable.
  • Save, close, and reopen the file, then check the protection again.
  • If recipients will use a different office suite or a converted format, test a copy in that workflow. Section behavior can vary across file formats and applications, so do not assume this is access control.
  • Use Save with password when the goal is to restrict opening or reading an OpenDocument file. Do not mistake a section password for document encryption.

As of October 9, 2026, the current LibreOffice Help documents section passwords, the five-character minimum, the closed-lock indicator, and the separate Save with password option. Menu wording can vary slightly by version or operating system, but the reliable outcome is the same: only the named section is protected, the rest remains usable, and a password is required to turn that protection off.

Leave a Comment

Protect Selected Writer Text with a Section Password

Protect Selected Writer Text with a Section Password

Lock a specific passage against routine edits while keeping the rest of a Writer document usable, and learn when file encryption is the better choice.

Make Spreadsheet Text Readable in LibreOffice Calc Dark Mode

Make Spreadsheet Text Readable in LibreOffice Calc Dark Mode

Fix hard-to-see spreadsheet text by checking the theme, cell font color, fills, and conditional formatting in Calc.

LibreOffice Calc Shows Formulas as Text? Restore the Results

LibreOffice Calc Shows Formulas as Text? Restore the Results

Learn why Calc shows formula text instead of calculated values and fix display mode, Text-formatted cells, apostrophes, or stale results.

Merge Writer Letters with a Logo and Spreadsheet Fields

Merge Writer Letters with a Logo and Spreadsheet Fields

Build a reusable Writer mail merge with Calc recipient data and a shared embedded image, then preview and save the personalized letters.

Limit Optional Diagnostics and Update Data in LibreOffice

Limit Optional Diagnostics and Update Data in LibreOffice

Turn off LibreOffice’s optional update statistics and crash-report prompts, then check what the settings cover and how to verify them.

Use Regex in LibreOffice Writer to Edit Text in Batches

Use Regex in LibreOffice Writer to Edit Text in Batches

Clean spacing, find structured text, and rearrange names with Writer regex patterns you can preview before replacing.

Set Arabic and Hebrew Paragraphs to Right-to-Left in Writer

Set Arabic and Hebrew Paragraphs to Right-to-Left in Writer

Enable Writer’s bidirectional controls, set RTL paragraph flow, and check mixed Arabic or Hebrew text without disrupting English words and numbers.

Restore Calibri and Arial in LibreOffice Without Guesswork

Restore Calibri and Arial in LibreOffice Without Guesswork

Install metric-compatible Linux fonts or map LibreOffice fallbacks, while keeping Microsoft font licensing and layout differences in view.

Create Fillable PDFs from Forms in LibreOffice Writer

Create Fillable PDFs from Forms in LibreOffice Writer

Add usable text fields, check boxes, and drop-downs in Writer, then export a PDF recipients can complete and save.

Make LibreOffice PDFs Keep the Fonts You Used

Make LibreOffice PDFs Keep the Fonts You Used

Fix missing or substituted fonts in LibreOffice Writer PDFs, choose the right export profile, and verify which fonts are embedded before sharing.