To require all messages into and out of Adaptive Server to be encrypted, set the msg confidentiality reqd configuration parameter to 1. If this parameter is 0 (the default), message confidentiality is not required but may be established by the client.
The syntax for setting this parameter is:
sp_configure configuration_parameter, [0 | 1]
For example, to require that all messages be encrypted, execute:
sp_configure "msg confidentiality reqd", 1