<?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: Masking Certain Macro Variables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Masking-Certain-Macro-Variables/m-p/362447#M274831</link>
    <description>&lt;P&gt;#1 disable mprint and symbolgen immediately before setting and using the macro variables.&lt;/P&gt;
&lt;P&gt;#2 use a masked version of the passwords (proc pwencode)&lt;/P&gt;
&lt;P&gt;#3 see if you can adapt your process so that credentials are not needed (ie set up automated ssh connections with public/private key authentication)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;solution 3 is to be preferred.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In places where we need confidential information, this is stored in .sas files only readable by the user in question; these files are %include'd when needed. For security, they have options nomprint nosymbolgen set (so no public log will show the values).&lt;/P&gt;</description>
    <pubDate>Mon, 29 May 2017 09:16:24 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2017-05-29T09:16:24Z</dc:date>
    <item>
      <title>Masking Certain Macro Variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Masking-Certain-Macro-Variables/m-p/362444#M274830</link>
      <description>&lt;P&gt;I am resolving my ID and Password through macro variables in my SAS code. I am using Option mprint and symbolgen to see the resolved value of other macros in my code. I dont want it to resolve my ID and Password. Is there a way that I can mask these 2 macro variables&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2017 09:04:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Masking-Certain-Macro-Variables/m-p/362444#M274830</guid>
      <dc:creator>dineshg1984</dc:creator>
      <dc:date>2017-05-29T09:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Masking Certain Macro Variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Masking-Certain-Macro-Variables/m-p/362447#M274831</link>
      <description>&lt;P&gt;#1 disable mprint and symbolgen immediately before setting and using the macro variables.&lt;/P&gt;
&lt;P&gt;#2 use a masked version of the passwords (proc pwencode)&lt;/P&gt;
&lt;P&gt;#3 see if you can adapt your process so that credentials are not needed (ie set up automated ssh connections with public/private key authentication)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;solution 3 is to be preferred.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In places where we need confidential information, this is stored in .sas files only readable by the user in question; these files are %include'd when needed. For security, they have options nomprint nosymbolgen set (so no public log will show the values).&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2017 09:16:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Masking-Certain-Macro-Variables/m-p/362447#M274831</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-05-29T09:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Masking Certain Macro Variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Masking-Certain-Macro-Variables/m-p/362451#M274832</link>
      <description>Thank You Sir!!</description>
      <pubDate>Mon, 29 May 2017 10:06:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Masking-Certain-Macro-Variables/m-p/362451#M274832</guid>
      <dc:creator>dineshg1984</dc:creator>
      <dc:date>2017-05-29T10:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Masking Certain Macro Variables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Masking-Certain-Macro-Variables/m-p/362512#M274833</link>
      <description>&lt;P&gt;If you are using the password in a LIBNAME statement then you should also consider using the LIBNAME() function in a data step instead. &amp;nbsp;You can use the SYMGET() function to retrieve a macro variable value without it being displayed.&lt;/P&gt;</description>
      <pubDate>Mon, 29 May 2017 14:41:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Masking-Certain-Macro-Variables/m-p/362512#M274833</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2017-05-29T14:41:21Z</dc:date>
    </item>
  </channel>
</rss>

