Pages

Wednesday, August 7, 2013

Widgets

Password protect your data

Want to protect your SAS dataset with a password to protect it from other users. You can use the pw = option in the SAS datastep. Here is an example demonstrating the same. This will protect your data with read/write authorization. 

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

If you lose your password, a lot of time and effort is needed to decrypt the file.

No comments:

Post a Comment