Media Server 25.1
Media Server Help

# AllowedInputDirectories

A list of directories that Media Server is permitted to read files from, when files are read from the local file system or network shares. Media Server can only read from directories that appear in the list, and their sub-directories.

TIP: This parameter affects file path input (where you request that Media Server uses a file, and you provide a path to the file). It does not place any restrictions on data sent to Media Server in HTTP requests, for example when you send the content of a file in a `multipart/form-data` request or as base-64 encoded data. This parameter does not affect the source media when the source is a stream URL.

This parameter affects:

- Source media (for all actions including Process, DescribeMedia, and AlignAudioTranscript).
- Session configuration files, Lua scripts, and other files read during a processing session.
- Input to all training actions, including database import actions.

However, Media Server is automatically permitted to read files from some locations, and you do not need to list the following:

- Session configuration files can be read from the ConfigDirectory and its subfolders.
- Lua scripts can be read from the LuaDirectory and its subfolders.
- XSL transforms can be read from the XSLDirectory and its subfolders.
- OCR user dictionaries and scene filter background images can be read from the UserDataDirectory and its subfolders.
- Color cluster dictionaries can be read from the `colorcluster` directory in the StaticDataDirectory.

TIP: It might be useful to add output folders (see AllowedEngineOutputDirectories) to this parameter. For example, you might detect faces and encode images of the faces, and then use those images to train Media Server.

Type: | String (list)
Default: | Media Server can read from any directory. To enhance security, OpenText recommends that you set one or more values. The default value might change in a future release, preventing files being read unless this parameter is set.
Required: | No
Configuration Section: | Paths
Example: | `AllowedInputDirectories0=D:\MediaToProcess AllowedInputDirectories1=D:\MediaForTraining`
See Also: | AllowedEngineOutputDirectories

Copyright 2024 Open Text
Version 25.1 | Last updated January 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: Knowledge Discovery Media Server 25.1

Topic Title: AllowedInputDirectories