---
title: "Read only – section or document"
source: https://dev.pageseeder.com/reference/glossary/read_only.html
description: "Describes how to prevent documents or sections from being edited in PageSeeder, useful for externally-maintained content integrated for publishing."
last_updated: 2026-09-05T17:35:41+10:00
tokens: ~164
---

# Read only – section or document

Prevents a [document](/reference/glossary/document.md) or [section](/reference/glossary/section.md) from being edited through the standard PageSeeder user interface. This is especially useful for content that is being maintained externally but integrated with PageSeeder content for publishing. An example of this class of content are comments that are maintained in source code.

For a document, set the `@edit` attribute on the [\<document\> element](/psml/elements/element_document.md) to `false`.

For a section, set the `@edit` attribute on [\<section\> element](/psml/elements/element_section.md) to false `false`.

