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:

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.

OpenText recommends that you create the directories that you specify (or that you specify only existing directories).

OpenText recommends setting absolute paths.

Whether the value of this parameter is case-sensitive depends on the underlying file system. (Paths are case-sensitive on Linux but usually not on Windows).

Type: String (list)
Default: Empty - with the exception of those listed above, files cannot be read from the local file system.
Required: No
Configuration Section: Paths
Example: AllowedInputDirectories0=D:\MediaToProcess
AllowedInputDirectories1=D:\MediaForTraining
See Also: AllowedEngineOutputDirectories