Specify Access to MATLAB Programs

By default, server instances allow all clients to access all hosted MATLAB® programs. MATLAB Production Server™ provides a certificate-based authorization mechanism for restricting access to specific programs. The ssl-allowed-client property uses this mechanism to specify the MATLAB programs that a client can access. The property specifies a comma-separated list of clients, identified by their certificate’s common name, that are allowed to access MATLAB programs. You also use the property to list specific MATLAB programs that a client is allowed to access.

If you do not specify the ssl-allowed-client property, the server instance does not restrict access to the hosted MATLAB programs. After you add an entry for the ssl-allowed-client property, the server instance authorizes only the listed clients to access the hosted MATLAB programs.

For example, to only authorize clients with the common names jim, judy, and ash to use the MATLAB programs hosted on a server instance, add this configuration excerpt:

--ssl-allowed-client jim,judy,ash

You can restrict access further by only authorizing specific clients to have access to specific MATLAB programs. Do this by adding :allowedPrograms to the value of the ssl-allowed-client property. allowedPrograms is a comma-separated list of program names.

For example, to allow clients with the common name jim access to all hosted programs, allow clients with the common name judy access to the programs tail and zap, and allow clients with the common name ash or joe access to the programs saw and travel, add this configuration excerpt:

--ssl-allowed-client jim
--ssl-allowed-client judy:tail,zap
--ssl-allowed-client ash,joe:saw,travel

The server must be configured to use HTTPS in order to use the property.

See Also

| |

Related Topics