access-control-policy

Path to the access control policy file

Syntax

--access-control-policy path

Description

--access-control-policy path specifies the path to the access control policy file. This syntax is optional. The default path is ./config/ac_policy.json. If access control is enabled by specifying access-control-provider, the access control policy file must exist in path, otherwise MATLAB® Production Server™ fails to start.

Once the server has started, the policy file is scanned every five seconds for changes. If the policy file is deleted or contains errors, the server continues to run, but all requests are denied. An error message is written to the main.log file.

Parameters

path specifies the path to access the policy file.

Examples

Specify Path to the JSON Access Control Policy File.

--access-control-policy ./config/ac_policy.json

Introduced in R2018b