The AGS_SOCKET_ENCRYPT variable lets you encrypt any data passed over a socket. Set this variable to "1" (on, true, yes) if you want the internal socket layer to perform encryption. The default value is "0".

You must set this variable before any socket communication occurs, and you cannot change it via the SET ENVIRONMENT statement.

Note that if the THIN_CLIENT_ENCRYPT variable is set to "1", AGS_SOCKET_ENCRYPT is also set to "1". You can still use the ENCRYPTION_SEED configuration variable with AGS_SOCKET_ENCRYPT.