BookmarkSubscribeRSS Feed
jimtheobald
Calcite | Level 5

I have been asked to find out if SAS is capable of connecting to and reading from an encrypted non-SAS database if we have the encryption key.

4 REPLIES 4
RW9
Diamond | Level 26 RW9
Diamond | Level 26

How will you be connecting - ODBC driver for example.  On the connection string I should give the options of username and password e.g. in SQL passthrough:

proc sql;

     connect to oracle (user="xyz" password="zyx" schema=...);

     select * from connection to oracle (....);

     disconnect from oracle;

quit;

You will also need SAS/Access licensed I believe.

jimtheobald
Calcite | Level 5

Are you saying that ODBC has to decrypt the data?  I am new at this so forgive me if I don't understand immediately.

RW9
Diamond | Level 26 RW9
Diamond | Level 26

You'll have to clarify for me what "encrypted database" you are talking about.  Normally database's have access via drivers - ODBC is one type of driver.  This passes your credentials onto the database process which decrypts the information and returns it via the driver to the caller.  So, its a bit like a password protected zip file, except there is another layer, you put your credentials into the driver, the driver then passes it on and returns and found information.  Couple of interesting pages:

http://support.sas.com/software/products/odbc/

SAS/ACCESS(R) 9.2 for Relational Databases: Reference, Fourth Edition

SAS/ACCESS(R) 9.2 for Relational Databases: Reference, Fourth Edition

jimtheobald
Calcite | Level 5

Thanks very much.  I will look at these articles.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1900 views
  • 3 likes
  • 2 in conversation