File Content Extraction 25.2
Filter SDK C Programming Guide

# Filter Password Protected Files

This section describes how to filter password-protected files.

To filter password-protected files

- In the C API, call the fpSetConfig() function with the following arguments.

  Argument | Parameter
  --- | ---
  `nType` | `KVFLT_SETSRCPASSWORD`
  `nValue` | The length of the password. To remove a configured password, set this to `0`.
  `pData` | The source file password. The password is a null-terminated string with a maximum length of 255 characters (the final byte is null). To remove a configured password, set this to `NULL`.

  For example:

      (*fpSetConfig)(pKVFilter, KVFLT_SETSRCPASSWORD, 8, "password");

Copyright 1997-2025 Open Text
Version 25.2 | Last updated April 2025

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 25.2

Topic Title: Filter Password Protected Files