Tips:Protecting your data with a password

From sasCommunity

Jump to: navigation, search

SAS datasets can be protected from read/write by unauthorized users by simply specifying a password on the dataset. To declare such a password, you use the pw = option in the SAS data step. Below is an example.

DATA <EXAMPLE DATA> (ENCRYPT = YES PW = <PASSWORD>);
SET <EXAMPLE DATA>;
RUN;

According to the SAS documentation, if you lose your password, a lot of time and effort is needed to decrypt the file.

....see also


Submitted by Murphy Choy. Contact me at my Discussion Page.

Personal tools