<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Encrypted PW in ODBC -or- Supplemental Host Parm? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Encrypted-PW-in-ODBC-or-Supplemental-Host-Parm/m-p/631033#M186892</link>
    <description>&lt;P&gt;I am running SAS 9.4 M6 on a 64 bit Windows Server 2016 machine.&amp;nbsp; I can use either GUI (DMS or EG).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to connect to a Hive DB using ODBC.&amp;nbsp; I can connect just fine -- so long as I use a plain text (unencrypted) password.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, the following Libname works just fine, but the value of &amp;amp;lPwd is just plain text meaning that things like SYMBOLGEN will print my password for all to see in the SAS log.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LIBNAME	HiveDB	ODBC	SCHEMA		=	ChartTarget
						NOPROMPT	=	"UID=jbarbour; PWD=&amp;amp;lPwd; HOST=DBMS0502; 
										DSN=OPSI_HIVE_STG1; SCHEMA=ChartTarget; 
										PORT=10000; AUTHMECH=3"
										;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I've tried using Proc PWENCODE, and can produce an encrypted password just fine, but no amount of trying seems to get it to work with my Libname using a NOPROMPT (see above).&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I read in &lt;A title="SAS 9.1 Usage Note 31602 " href="http://support.sas.com/kb/31/602.html" target="_self"&gt;SAS Usage Note 31602&lt;/A&gt;&amp;nbsp; that it just can't be done -- but that was for SAS 9.1.&amp;nbsp; &lt;STRONG&gt;Has this changed?&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;Is there now a way to pass in an encrypted password when using a NOPROMPT?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;--ALTERNATIVELY--&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to pass in the Host and Port outside of a NOPROMPT?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Coding the following:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LIBNAME	HiveDB	ODBC	SCHEMA		=	ChartTarget
						UID			=	jbarbour
						PWD			=	&amp;amp;lPwd
						HOST		=	DBMS0502
						DSN			=	OPSI_HIVE_STG1
						PORT		=	10000
						;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Yields the following error messages:&lt;/P&gt;
&lt;PRE&gt;29         LIBNAME	HiveDB	ODBC	SCHEMA		=	ChartTarget
30         						UID			=	jbarbour
31         						PWD			=	&amp;amp;lPwd
32         						HOST		=	DBMS0502
                 ____
                 22
ERROR 22-7: Invalid option name HOST.

33         						DSN			=	OPSI_HIVE_STG1
34         						PORT		=	10000
                 ____
                 22
ERROR 22-7: Invalid option name PORT.&lt;/PRE&gt;
&lt;P&gt;Thus forcing me to use NOPROMPT in order to pass the Host and Port to ODBC -- which works, but I am then forced to use a plain text password.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So:&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp; Is there a way now to use an encrypted password with a NOPROMPT on an ODBC Libname?&lt;/P&gt;
&lt;P&gt;--or--&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp; Is there a way to pass in Host and Port outside of a NOPROMPT so that I can avoid using NOPROMPT entirely?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And, yes, I am aware of the PROMPT, REQUIRED, and COMPLETE options, but we run a lot of automatically scheduled jobs at 0300 in the morning and other fun times -- times where interactive runs might be, well, somewhat inconvenient.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Mar 2020 17:42:06 GMT</pubDate>
    <dc:creator>jimbarbour</dc:creator>
    <dc:date>2020-03-10T17:42:06Z</dc:date>
    <item>
      <title>Encrypted PW in ODBC -or- Supplemental Host Parm?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Encrypted-PW-in-ODBC-or-Supplemental-Host-Parm/m-p/631033#M186892</link>
      <description>&lt;P&gt;I am running SAS 9.4 M6 on a 64 bit Windows Server 2016 machine.&amp;nbsp; I can use either GUI (DMS or EG).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to connect to a Hive DB using ODBC.&amp;nbsp; I can connect just fine -- so long as I use a plain text (unencrypted) password.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, the following Libname works just fine, but the value of &amp;amp;lPwd is just plain text meaning that things like SYMBOLGEN will print my password for all to see in the SAS log.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LIBNAME	HiveDB	ODBC	SCHEMA		=	ChartTarget
						NOPROMPT	=	"UID=jbarbour; PWD=&amp;amp;lPwd; HOST=DBMS0502; 
										DSN=OPSI_HIVE_STG1; SCHEMA=ChartTarget; 
										PORT=10000; AUTHMECH=3"
										;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I've tried using Proc PWENCODE, and can produce an encrypted password just fine, but no amount of trying seems to get it to work with my Libname using a NOPROMPT (see above).&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I read in &lt;A title="SAS 9.1 Usage Note 31602 " href="http://support.sas.com/kb/31/602.html" target="_self"&gt;SAS Usage Note 31602&lt;/A&gt;&amp;nbsp; that it just can't be done -- but that was for SAS 9.1.&amp;nbsp; &lt;STRONG&gt;Has this changed?&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;Is there now a way to pass in an encrypted password when using a NOPROMPT?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;--ALTERNATIVELY--&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to pass in the Host and Port outside of a NOPROMPT?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Coding the following:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LIBNAME	HiveDB	ODBC	SCHEMA		=	ChartTarget
						UID			=	jbarbour
						PWD			=	&amp;amp;lPwd
						HOST		=	DBMS0502
						DSN			=	OPSI_HIVE_STG1
						PORT		=	10000
						;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Yields the following error messages:&lt;/P&gt;
&lt;PRE&gt;29         LIBNAME	HiveDB	ODBC	SCHEMA		=	ChartTarget
30         						UID			=	jbarbour
31         						PWD			=	&amp;amp;lPwd
32         						HOST		=	DBMS0502
                 ____
                 22
ERROR 22-7: Invalid option name HOST.

33         						DSN			=	OPSI_HIVE_STG1
34         						PORT		=	10000
                 ____
                 22
ERROR 22-7: Invalid option name PORT.&lt;/PRE&gt;
&lt;P&gt;Thus forcing me to use NOPROMPT in order to pass the Host and Port to ODBC -- which works, but I am then forced to use a plain text password.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So:&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp; Is there a way now to use an encrypted password with a NOPROMPT on an ODBC Libname?&lt;/P&gt;
&lt;P&gt;--or--&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp; Is there a way to pass in Host and Port outside of a NOPROMPT so that I can avoid using NOPROMPT entirely?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And, yes, I am aware of the PROMPT, REQUIRED, and COMPLETE options, but we run a lot of automatically scheduled jobs at 0300 in the morning and other fun times -- times where interactive runs might be, well, somewhat inconvenient.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 17:42:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Encrypted-PW-in-ODBC-or-Supplemental-Host-Parm/m-p/631033#M186892</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2020-03-10T17:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypted PW in ODBC -or- Supplemental Host Parm?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Encrypted-PW-in-ODBC-or-Supplemental-Host-Parm/m-p/631152#M186960</link>
      <description>&lt;P&gt;It looks like only HOST and PORT make it choke.&lt;/P&gt;
&lt;P&gt;Have you tried putting these in NOPROMPT and leaving the rest out? Just an idea.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 04:16:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Encrypted-PW-in-ODBC-or-Supplemental-Host-Parm/m-p/631152#M186960</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-03-11T04:16:11Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypted PW in ODBC -or- Supplemental Host Parm?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Encrypted-PW-in-ODBC-or-Supplemental-Host-Parm/m-p/631308#M187034</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An excellent idea, and just what I was looking for when I asked for a "supplemental host parm" (some means of passing in the host and port numbers).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, NOPROMPT is not that means.&amp;nbsp; From what I can tell, when&amp;nbsp;NOPROMPT is used, 100% of the connection is based on the contents of&amp;nbsp;NOPROMPT and any parameters outside&amp;nbsp;NOPROMPT are ignored.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, coding the following:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;LIBNAME	HiveDB	ODBC	SCHEMA		=	ChartTarget
						UID			=	jbarbour
						PWD			=	&amp;amp;lPwd
						DSN			=	OPSI_HIVE_STG1
						NOPROMPT	=	"HOST=DBMS0502; PORT=10000; AUTHMECH=3"
										;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Yields the following:&lt;/P&gt;
&lt;PRE&gt;29         LIBNAME	HiveDB	ODBC	SCHEMA		=	ChartTarget
30         						UID			=	jbarbour
31         						PWD			=	&amp;amp;lPwd
32         						DSN			=	OPSI_HIVE_STG1
33         						NOPROMPT	=	XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
34         										;
ERROR: CLI error trying to establish connection: [Microsoft][ODBC Driver Manager] Data source name not found and no default 
       driver specified
ERROR: Error in the LIBNAME statement.&lt;/PRE&gt;
&lt;P&gt;Despite the fact that the DSN is in fact coded.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One would think that SAS would try all NOPROMPT parameters first and then secondarily try and parameters coded outside the NOPROMPT, but no.&amp;nbsp; Parameters coded outside the NOPROMPT are ignored.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 17:38:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Encrypted-PW-in-ODBC-or-Supplemental-Host-Parm/m-p/631308#M187034</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2020-03-11T17:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypted PW in ODBC -or- Supplemental Host Parm?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Encrypted-PW-in-ODBC-or-Supplemental-Host-Parm/m-p/631349#M187059</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/37107"&gt;@jimbarbour&lt;/a&gt;&amp;nbsp; - If you use NOPROMPT then you will also need to move the DSN into the connection string something like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;NOPROMPT	=	"DSN=OPSI_HIVE_STG1;HOST=DBMS0502;PORT=10000;AUTHMECH=3"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;In my experience NOPROMPT connection strings are really fiddly to get right. Spaces can cause problems for example.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 19:10:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Encrypted-PW-in-ODBC-or-Supplemental-Host-Parm/m-p/631349#M187059</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-03-11T19:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypted PW in ODBC -or- Supplemental Host Parm?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Encrypted-PW-in-ODBC-or-Supplemental-Host-Parm/m-p/631395#M187081</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt; any parameters outside&amp;nbsp;NOPROMPT are ignored&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Mmm that's very annoying.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How about this clever idea?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/Redshift-ODBC-Connection-with-PROC-PWENCODE/td-p/600358" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/Redshift-ODBC-Connection-with-PROC-PWENCODE/td-p/600358&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem dates back to V9.1 apparently!!&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/kb/31/602.html" target="_blank"&gt;https://support.sas.com/kb/31/602.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Time to add SASWare ballot entry?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 22:02:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Encrypted-PW-in-ODBC-or-Supplemental-Host-Parm/m-p/631395#M187081</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-03-11T22:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypted PW in ODBC -or- Supplemental Host Parm?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Encrypted-PW-in-ODBC-or-Supplemental-Host-Parm/m-p/631422#M187088</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, you are quite correct.&amp;nbsp; The DSN definitely has to be included in the NOPROMPT string, but so does password, and that password has to be in plain text (unencrypted).&amp;nbsp;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp;has an idea worth considering though.&amp;nbsp; More on that in my response to his post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 00:33:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Encrypted-PW-in-ODBC-or-Supplemental-Host-Parm/m-p/631422#M187088</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2020-03-12T00:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypted PW in ODBC -or- Supplemental Host Parm?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Encrypted-PW-in-ODBC-or-Supplemental-Host-Parm/m-p/631423#M187089</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/16961"&gt;@ChrisNZ&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here, here!&amp;nbsp; It's high time for a SAS ballot measure on this one!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That said, it's a rather clever idea -- to encrypt the entire NOPROMPT string.&amp;nbsp; What's more, it works!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%Enc_Pwd(Conn_Str, %STR(UID=jbarbour; PWD=&amp;amp;lPwd; HOST=DBMS0502; DSN=OPSI_HIVE_STG1; SCHEMA=ChartTarget; PORT=10000; AUTHMECH=3));
LIBNAME	HiveDB	ODBC	SCHEMA		=	ChartTarget
						NOPROMPT	=	"&amp;amp;Conn_Str"
										;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Yields the following in the log:&lt;/P&gt;
&lt;PRE&gt;NOTE: Libref HIVEDB was successfully assigned as follows: 
      Engine:        ODBC 
      Physical Name: OPSI_HIVE_STG1
&lt;/PRE&gt;
&lt;P&gt;Unfortunately, if you look at the argument I'm passing to %Enc_Pwd, I still have to have a plain text password available, in this case via the lPwd macro variable.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In our environment, we're not supposed to have plain text passwords in any form stored on disk.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Code could be set up in the autoexec.sas to create encrypted connection strings.&amp;nbsp; A separate connection string would have to be created for each schema, and two per schema if there were, for example, a production and a stage version.&amp;nbsp; Boy, what a hassle.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Still, it could be done.&amp;nbsp; I'll have to think about this one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ultimately, I think a SAS ballot measure is the right approach.&amp;nbsp; Putting passwords in plain text is just no good.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I had to laugh at SAS's User Note:&amp;nbsp; The solution is to code your password in plain text (for all to see).&amp;nbsp; What a wonderful solution!&amp;nbsp; Hallelujah!&amp;nbsp; We're saved!&amp;nbsp; I'd like to give a piece of my mind to the person who thought that was an acceptable workaround.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 00:44:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Encrypted-PW-in-ODBC-or-Supplemental-Host-Parm/m-p/631423#M187089</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2020-03-12T00:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypted PW in ODBC -or- Supplemental Host Parm?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Encrypted-PW-in-ODBC-or-Supplemental-Host-Parm/m-p/631431#M187093</link>
      <description>&lt;P&gt;If you need to connect to this server regularly then you could of course also define the server in SAS metadata.&lt;/P&gt;
&lt;P&gt;If you connect with a generic user/password then you could also define an authentication domain and use this one in the libname instead of user/pw.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 02:59:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Encrypted-PW-in-ODBC-or-Supplemental-Host-Parm/m-p/631431#M187093</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2020-03-12T02:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypted PW in ODBC -or- Supplemental Host Parm?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Encrypted-PW-in-ODBC-or-Supplemental-Host-Parm/m-p/631435#M187094</link>
      <description>&lt;P&gt;I forgot you had already referenced the UN.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;nbsp;What a wonderful solution!&amp;nbsp; Hallelujah!&amp;nbsp; We're saved!&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Lol indeed!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only alternative I can think of is that the libname is defined in a macro, and that whoever needs to define it runs the macro.&lt;/P&gt;
&lt;P&gt;The macro would temporary disable spying options of course.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;nbsp;&amp;nbsp;I think a SAS ballot measure is the right approach&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;It is. Whether is eventuates is another matter.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 02:56:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Encrypted-PW-in-ODBC-or-Supplemental-Host-Parm/m-p/631435#M187094</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-03-12T02:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Encrypted PW in ODBC -or- Supplemental Host Parm?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Encrypted-PW-in-ODBC-or-Supplemental-Host-Parm/m-p/631458#M187099</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/37107"&gt;@jimbarbour&lt;/a&gt;&amp;nbsp; - I see you are on Windows. Using the ODBC Administrator can you set up a DSN and include a stored username / password? Wouldn't that mean you don't need to add one? Also avoiding the problem entirely with Windows Authentication works great for some databases like SQL Server but I'm guessing not yours...&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 06:15:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Encrypted-PW-in-ODBC-or-Supplemental-Host-Parm/m-p/631458#M187099</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-03-12T06:15:07Z</dc:date>
    </item>
  </channel>
</rss>

