<?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: How to save MACRO unviewable to anyone?! in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-save-MACRO-unviewable-to-anyone/m-p/804758#M316956</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Start with reading Readme.md here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/yabwon/SAS_PACKAGES" target="_blank"&gt;https://github.com/yabwon/SAS_PACKAGES&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you can check out this presentation:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/yabwon/SAS_PACKAGES/blob/main/SPF/Documentation/Getting_Started_with_SAS_Packages.pdf" target="_blank"&gt;https://github.com/yabwon/SAS_PACKAGES/blob/main/SPF/Documentation/Getting_Started_with_SAS_Packages.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and eventually watch the recording from BASUG meetup:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.basug.org/videos?wix-vod-video-id=78067e61413d43d3a6951974b3bc3014&amp;amp;wix-vod-comp-id=comp-klv807gt" target="_blank"&gt;https://www.basug.org/videos?wix-vod-video-id=78067e61413d43d3a6951974b3bc3014&amp;amp;wix-vod-comp-id=comp-klv807gt&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the best&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
    <pubDate>Tue, 29 Mar 2022 13:57:37 GMT</pubDate>
    <dc:creator>yabwon</dc:creator>
    <dc:date>2022-03-29T13:57:37Z</dc:date>
    <item>
      <title>How to save MACRO unviewable to anyone?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-save-MACRO-unviewable-to-anyone/m-p/804675#M316907</link>
      <description>&lt;P&gt;Need run code on a server, for security concerns, do not like anyone to see the SAS code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to save MACRO encrypted and unviewable to anyone?! Thanks,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 06:44:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-save-MACRO-unviewable-to-anyone/m-p/804675#M316907</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2022-03-29T06:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to save MACRO unviewable to anyone?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-save-MACRO-unviewable-to-anyone/m-p/804677#M316909</link>
      <description>&lt;P&gt;Also anyway to require a passwd to run a macro?! If passwd does not match, write into log(encrypted, not-directly-readable)?!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 06:48:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-save-MACRO-unviewable-to-anyone/m-p/804677#M316909</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2022-03-29T06:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to save MACRO unviewable to anyone?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-save-MACRO-unviewable-to-anyone/m-p/804685#M316915</link>
      <description>&lt;P&gt;First, the macro code is stored encrypted by specifying the /store secure option to the macro.&lt;/P&gt;
&lt;P&gt;Also, specify options such as nosource nosource2 nomlogic nosymbolgen nomprint when executing the macro. Prevent sas code from being output to the log.&lt;/P&gt;
&lt;P&gt;This will keep the sas code secret.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname macout 'C:\temp';
options mstored sasmstore=macout;

%Macro samplemacro /STORE SECURE;
  options nosource nosource2 nomlogic nosymbolgen nomprint;
  /* describe your code below */
%Mend;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Mar 2022 07:58:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-save-MACRO-unviewable-to-anyone/m-p/804685#M316915</guid>
      <dc:creator>japelin</dc:creator>
      <dc:date>2022-03-29T07:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to save MACRO unviewable to anyone?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-save-MACRO-unviewable-to-anyone/m-p/804708#M316927</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/409584"&gt;@hellohere&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Also anyway to require a passwd to run a macro?! If passwd does not match, write into log(encrypted, not-directly-readable)?!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It would be a hack, but I suppose you could have a password= parameter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then in the macro definition, something like:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%if &amp;amp;password ne SecretPassword %then %do ;
  %put ERROR: incorrect password, macro exiting ;  
  %return ;
%end ; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 11:02:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-save-MACRO-unviewable-to-anyone/m-p/804708#M316927</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2022-03-29T11:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to save MACRO unviewable to anyone?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-save-MACRO-unviewable-to-anyone/m-p/804721#M316932</link>
      <description>&lt;P&gt;You could try the GSM (Generate Secure Macros) package:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/yabwon/SAS_PACKAGES/blob/main/packages/gsm.md" target="_blank"&gt;https://github.com/yabwon/SAS_PACKAGES/blob/main/packages/gsm.md&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the best&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 12:01:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-save-MACRO-unviewable-to-anyone/m-p/804721#M316932</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2022-03-29T12:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to save MACRO unviewable to anyone?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-save-MACRO-unviewable-to-anyone/m-p/804722#M316933</link>
      <description>&lt;A href="https://communities.sas.com/t5/SAS-Programming/How-to-hide-SAS-macro-source-code/m-p/773087" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/How-to-hide-SAS-macro-source-code/m-p/773087&lt;/A&gt;</description>
      <pubDate>Tue, 29 Mar 2022 12:04:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-save-MACRO-unviewable-to-anyone/m-p/804722#M316933</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-03-29T12:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to save MACRO unviewable to anyone?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-save-MACRO-unviewable-to-anyone/m-p/804756#M316954</link>
      <description>How to download and install the package?!</description>
      <pubDate>Tue, 29 Mar 2022 13:45:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-save-MACRO-unviewable-to-anyone/m-p/804756#M316954</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2022-03-29T13:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to save MACRO unviewable to anyone?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-save-MACRO-unviewable-to-anyone/m-p/804758#M316956</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Start with reading Readme.md here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/yabwon/SAS_PACKAGES" target="_blank"&gt;https://github.com/yabwon/SAS_PACKAGES&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you can check out this presentation:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/yabwon/SAS_PACKAGES/blob/main/SPF/Documentation/Getting_Started_with_SAS_Packages.pdf" target="_blank"&gt;https://github.com/yabwon/SAS_PACKAGES/blob/main/SPF/Documentation/Getting_Started_with_SAS_Packages.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and eventually watch the recording from BASUG meetup:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.basug.org/videos?wix-vod-video-id=78067e61413d43d3a6951974b3bc3014&amp;amp;wix-vod-comp-id=comp-klv807gt" target="_blank"&gt;https://www.basug.org/videos?wix-vod-video-id=78067e61413d43d3a6951974b3bc3014&amp;amp;wix-vod-comp-id=comp-klv807gt&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the best&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 13:57:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-save-MACRO-unviewable-to-anyone/m-p/804758#M316956</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2022-03-29T13:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to save MACRO unviewable to anyone?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-save-MACRO-unviewable-to-anyone/m-p/804777#M316964</link>
      <description>&lt;P&gt;What possible justification is there for hiding the source code for something that you are going to let people run?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 14:20:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-save-MACRO-unviewable-to-anyone/m-p/804777#M316964</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-03-29T14:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to save MACRO unviewable to anyone?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-save-MACRO-unviewable-to-anyone/m-p/804795#M316969</link>
      <description>&lt;P&gt;Large economy sized hint: What ever approach you use make 100% sure that you have the code saved, backed up, documented where that source is kept, and in multiple places.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have seen several requests on this forum for "recovering the code" from a "secured" macro because they need to modify it. But the original code has been lost/moved/moved to Texas or similar. The typical approaches won't allow code recovery so the user years later is left unsupported.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 15:37:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-save-MACRO-unviewable-to-anyone/m-p/804795#M316969</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-03-29T15:37:44Z</dc:date>
    </item>
  </channel>
</rss>

