<?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: table password hideing, unlocking in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/table-password-hideing-unlocking/m-p/619694#M182008</link>
    <description>&lt;P&gt;If table means database table, and you're in a SAS metadata server environment, you've got lots of secure options for authentication.&amp;nbsp; See e.g. this post from&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;&amp;nbsp;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2010/11/23/five-strategies-to-eliminate-passwords-from-your-sas-programs/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2010/11/23/five-strategies-to-eliminate-passwords-from-your-sas-programs/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(And since it's almost 10 years old, there may be five newer strategies by now...)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also see this other post by Chris, has examples of storing password (could be encrypted via pwencode value) in a secure text file, and reading that file to push the value to a macro variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2018/01/16/hide-rest-api-tokens/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2018/01/16/hide-rest-api-tokens/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the most part, if its obvious to SAS from the context of your code that a value is a password, e.g. (password=&amp;amp;password option or whatever), even if you have MPRINT on SAS won't show the resolved value in the log.&amp;nbsp; Don't know about symbolgen.&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jan 2020 21:56:29 GMT</pubDate>
    <dc:creator>Quentin</dc:creator>
    <dc:date>2020-01-23T21:56:29Z</dc:date>
    <item>
      <title>table password hideing, unlocking</title>
      <link>https://communities.sas.com/t5/SAS-Programming/table-password-hideing-unlocking/m-p/619631#M181978</link>
      <description>&lt;P&gt;There is a table with important data. It is password protected. I would like to use this in a program. After processing the table I would use sha encryption. How do I unlock my password if:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-I would like it if the password was not visible in the code&lt;BR /&gt;-I would like it not to be visible in the log at run time&lt;/P&gt;&lt;P&gt;How could this problem be solved?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 18:51:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/table-password-hideing-unlocking/m-p/619631#M181978</guid>
      <dc:creator>ger15xxhcker</dc:creator>
      <dc:date>2020-01-23T18:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: table password hideing, unlocking</title>
      <link>https://communities.sas.com/t5/SAS-Programming/table-password-hideing-unlocking/m-p/619635#M181980</link>
      <description>&lt;P&gt;You can use the PWENCODE procedure to encode the password:&amp;nbsp;&lt;A href="https://documentation.sas.com/?docsetId=proc&amp;amp;docsetTarget=n1vzmasf0tdebfn1xec0k1tevq7q.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=proc&amp;amp;docsetTarget=n1vzmasf0tdebfn1xec0k1tevq7q.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That doesn't prevent someone else copying the encoded version and using it in their own programs though.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 18:58:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/table-password-hideing-unlocking/m-p/619635#M181980</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-01-23T18:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: table password hideing, unlocking</title>
      <link>https://communities.sas.com/t5/SAS-Programming/table-password-hideing-unlocking/m-p/619637#M181981</link>
      <description>&lt;P&gt;Thanks! Yes but this will show the burned password in code. I&lt;SPAN&gt;t will not be visible in the log but it is not enough now.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 19:04:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/table-password-hideing-unlocking/m-p/619637#M181981</guid>
      <dc:creator>ger15xxhcker</dc:creator>
      <dc:date>2020-01-23T19:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: table password hideing, unlocking</title>
      <link>https://communities.sas.com/t5/SAS-Programming/table-password-hideing-unlocking/m-p/619658#M181991</link>
      <description>&lt;P&gt;You can also make it a bit harder to find the password by storing it in a macro variable. By default SAS does not resolve macro variable values in SAS logs.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 20:15:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/table-password-hideing-unlocking/m-p/619658#M181991</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-01-23T20:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: table password hideing, unlocking</title>
      <link>https://communities.sas.com/t5/SAS-Programming/table-password-hideing-unlocking/m-p/619694#M182008</link>
      <description>&lt;P&gt;If table means database table, and you're in a SAS metadata server environment, you've got lots of secure options for authentication.&amp;nbsp; See e.g. this post from&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;&amp;nbsp;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2010/11/23/five-strategies-to-eliminate-passwords-from-your-sas-programs/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2010/11/23/five-strategies-to-eliminate-passwords-from-your-sas-programs/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(And since it's almost 10 years old, there may be five newer strategies by now...)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also see this other post by Chris, has examples of storing password (could be encrypted via pwencode value) in a secure text file, and reading that file to push the value to a macro variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2018/01/16/hide-rest-api-tokens/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2018/01/16/hide-rest-api-tokens/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the most part, if its obvious to SAS from the context of your code that a value is a password, e.g. (password=&amp;amp;password option or whatever), even if you have MPRINT on SAS won't show the resolved value in the log.&amp;nbsp; Don't know about symbolgen.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 21:56:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/table-password-hideing-unlocking/m-p/619694#M182008</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2020-01-23T21:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: table password hideing, unlocking</title>
      <link>https://communities.sas.com/t5/SAS-Programming/table-password-hideing-unlocking/m-p/619747#M182024</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/192091"&gt;@ger15xxhcker&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you really want to secure your SAS table then store your data under a metadata bound library as documented &lt;A href="https://go.documentation.sas.com/?cdcId=bicdc&amp;amp;cdcVersion=9.4&amp;amp;docsetId=seclibag&amp;amp;docsetTarget=titlepage.htm&amp;amp;locale=en" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;This will allow you to manage all data access via metadata security, you'll never have to pass a password via code, and you have multiple options how your physical data at rest should be encrypted.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jan 2020 03:19:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/table-password-hideing-unlocking/m-p/619747#M182024</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2020-01-24T03:19:00Z</dc:date>
    </item>
  </channel>
</rss>

