<?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 Re: ODBC encrypt Password in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ODBC-encrypt-Password/m-p/800312#M314789</link>
    <description>&lt;P&gt;Does it work correctly unencrypted? Have you tried {SAS001} or {SAS002} encryption? If any of these work but {SAS003} encryption doesn't then a track with SAS Tech Support good be a good idea.&lt;/P&gt;</description>
    <pubDate>Sat, 05 Mar 2022 07:02:59 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2022-03-05T07:02:59Z</dc:date>
    <item>
      <title>ODBC encrypt Password</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODBC-encrypt-Password/m-p/800300#M314778</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I used proc pwencode to generate encrypted password but when trying to use it with ODBC connection to Azure server it's not recognizing it and gives error.&lt;BR /&gt;Code is&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%let ts_pwd = {SAS003}XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LIBNAME TEST ODBC DATAsrc=‘XXX'&lt;/P&gt;&lt;P&gt;USER="ABC"&lt;/P&gt;&lt;P&gt;PWD= "&amp;amp;ts_pwd"&lt;/P&gt;&lt;P&gt;SCHEMA=ABCXYZ&lt;/P&gt;&lt;P&gt;CURSOR_TYPE=FORWARD_ONLY;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: Failed to authenticate the user ‘ABC’ in Active Directory (Authentication option is 'ActiveDirectoryPassword').&amp;nbsp; Error code 0xCAA20003;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; state 10&amp;nbsp; ID3242: The security token could not be authenticated or authorized.&lt;/P&gt;&lt;P&gt;ERROR: Error in the LIBNAME statement.&lt;BR /&gt;Any ideas or suggestions please !&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2022 02:36:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODBC-encrypt-Password/m-p/800300#M314778</guid>
      <dc:creator>AZIQ1</dc:creator>
      <dc:date>2022-03-05T02:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC encrypt Password</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODBC-encrypt-Password/m-p/800312#M314789</link>
      <description>&lt;P&gt;Does it work correctly unencrypted? Have you tried {SAS001} or {SAS002} encryption? If any of these work but {SAS003} encryption doesn't then a track with SAS Tech Support good be a good idea.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2022 07:02:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODBC-encrypt-Password/m-p/800312#M314789</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-03-05T07:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC encrypt Password</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODBC-encrypt-Password/m-p/800341#M314807</link>
      <description>Yes it does work unencrypted. I used SAS003 encryption.&lt;BR /&gt;&lt;BR /&gt;Or any ideas how can I embed my password in the code so that no one sees my password when they open my program. I cannot save it on my local drive and call the program&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 05 Mar 2022 14:31:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODBC-encrypt-Password/m-p/800341#M314807</guid>
      <dc:creator>AZIQ1</dc:creator>
      <dc:date>2022-03-05T14:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC encrypt Password</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODBC-encrypt-Password/m-p/800369#M314824</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/23718"&gt;@AZIQ1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Looks like you want to hide the password.&lt;BR /&gt;Create an Authentication domain for the server and store password in the metadata sever.&lt;BR /&gt;use the authentication domain in the libname statement.&lt;BR /&gt;The statement would be something like this&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname mydblib odbc datasrc=mydatasource Authdomain=myothdomain ;;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 05 Mar 2022 20:02:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODBC-encrypt-Password/m-p/800369#M314824</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2022-03-05T20:02:30Z</dc:date>
    </item>
  </channel>
</rss>

