Specify Access to MATLAB Programs

By default, server instances allow all clients to access all hosted MATLAB® programs. You control this behavior using the ssl-allowed-client configuration property. The ssl-allowed-client 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.

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.

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
Was this topic helpful?