File Content Extraction 26.1
Filter SDK C Programming Guide

# Document Restrictions

Some applications, and corresponding file formats, allow users to restrict the ways in which a document can be used. For example, you might be able to read a document but additional credentials (such as a password) could be required to modify the document content, add comments, or print the document. The restrictions might not be enforced by encryption, but instead rely on any software that accesses the file to respect the restrictions that have been set.

TIP: These restrictions are not file system permissions (for example, making a file read-only). They are restrictions applied by the software package that created the file.

File Content Extraction can report whether a document is protected by write restrictions, for the following file formats. A write restriction is defined as any restriction, enforced by a password, that prevents a user from editing the document content.

- Adobe Portable Document Format (.PDF)
- Microsoft Word (.DOCX)
- Microsoft Excel (.XLSX)
- Microsoft PowerPoint (.PPTX)

To determine whether a document is protected by restrictions

- In the C API, use the function fpGetRestrictions(). For information about the restrictions that are reported, see KVRestrictions.

Copyright 1997-2025 Open Text
Version 26.1 | Last updated January 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 26.1

Topic Title: Document Restrictions