SAS Proprietary Encryption for SAS/SHARE: Example

SAS/SHARE Client

In this example, the NETENCRYPTALGORITHM= option is set to sasproprietary to specify the use of the proprietary algorithm to encrypt the data between the client and the server. The NETENCRYPTALGORITHM= option must be set before the LIBNAME statement establishes the connection to the server.
options netencryptalgorithm=sasproprietary;
options comamid=tcp;
libname sasdata 'edc.prog2.sasdata' server=rmthost.share1;

SAS/SHARE Server

This example shows how to set the options for encryption services on a SAS/SHARE server. The NETENCRYPT option specifies that encryption is required by any client that accesses this server. The NETENCRYPTALGORITHM= option specifies that the SAS Proprietary Encryption algorithm be used for encryption of all data that is exchanged with connecting clients.
options netencrypt netencryptalgorithm=sasproprietary;
options comamid=tcp;
proc server id=share1;
run;