<?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: SAS Addin Custom Task in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Addin-Custom-Task/m-p/331188#M21982</link>
    <description>&lt;P&gt;There are a few ways to handle this. &amp;nbsp;The best way: &lt;A href="http://blogs.sas.com/content/sasdummy/2010/11/23/five-strategies-to-eliminate-passwords-from-your-sas-programs/" target="_self"&gt;don't rely on passwords in the code at all.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that isn't a possibility, you can change the custom task code to submit the sensitive code "behind the scenes" and not roll it into the generated code that appears in the process flow. &amp;nbsp;There is a SasSubmitter class that you can use to manage this. &amp;nbsp;I have an example in my book and &lt;A href="https://github.com/cjdinger/SasMacroViewer" target="_self"&gt;published example on GitHub&lt;/A&gt;. &amp;nbsp;(Look at the &lt;A href="https://github.com/cjdinger/SasMacroViewer/blob/master/src/Macro/MacroViewerDlg.cs" target="_self"&gt;SolveExpression() routine in this file.&lt;/A&gt;)&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2017 15:23:59 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2017-02-09T15:23:59Z</dc:date>
    <item>
      <title>SAS Addin Custom Task</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Addin-Custom-Task/m-p/331171#M21979</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working with add-ins in &lt;SPAN class="spellver"&gt;SAS&lt;/SPAN&gt; Enterprise Guide 5.1, this add-ins were developed in C# in Visual Studio 2010. I was not part of the developing team so&amp;nbsp;I don't know for certain if the problem is on &lt;SPAN class="spellver"&gt;SAS&lt;/SPAN&gt; or the code developed. In my perspective is some regular behavior in &lt;SPAN class="spellver"&gt;SAS.&lt;/SPAN&gt; Besides&amp;nbsp;I am new at &lt;SPAN class="spellver"&gt;SAS&lt;/SPAN&gt; so&amp;nbsp;I don't know the software that well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Leaving the introduction aside&amp;nbsp;I found myself in little Jam. This add-ins are custom tasks that let the user choose which field and filters apply to a query and then run that query. This part runs smoothly no problems at all. After running the task comes the problem, you see when&amp;nbsp;the query finish and gives the result it opens&amp;nbsp;tree tabs:&amp;nbsp;Log, Code&amp;nbsp; and Output Data as you can see in the picture attached. The issue here is&amp;nbsp;on the Tab 'Code' that shows the Oracle Connection like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;connect to oracle as &lt;SPAN class="spellmod"&gt;oradb&lt;/SPAN&gt; (user ="user" password ="{s001}23421343246464324" path='server');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is unsafe and a big problem as you can imagine even encrypted &lt;SPAN class="mod"&gt;i&lt;/SPAN&gt; can just copy paste&amp;nbsp;and run a custom program in &lt;SPAN class="spellver"&gt;SAS&lt;/SPAN&gt; and do everything on that database.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So my question is how can I hide this tab in &lt;SPAN class="spellver"&gt;SAS&lt;/SPAN&gt; or C#?&amp;nbsp;Or make the connection not visible to the user?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/13420iF64D5103A7EE4852/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="Capture.PNG" title="Capture.PNG" /&gt;</description>
      <pubDate>Thu, 09 Feb 2017 14:45:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Addin-Custom-Task/m-p/331171#M21979</guid>
      <dc:creator>bernardorosario</dc:creator>
      <dc:date>2017-02-09T14:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Addin Custom Task</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Addin-Custom-Task/m-p/331188#M21982</link>
      <description>&lt;P&gt;There are a few ways to handle this. &amp;nbsp;The best way: &lt;A href="http://blogs.sas.com/content/sasdummy/2010/11/23/five-strategies-to-eliminate-passwords-from-your-sas-programs/" target="_self"&gt;don't rely on passwords in the code at all.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that isn't a possibility, you can change the custom task code to submit the sensitive code "behind the scenes" and not roll it into the generated code that appears in the process flow. &amp;nbsp;There is a SasSubmitter class that you can use to manage this. &amp;nbsp;I have an example in my book and &lt;A href="https://github.com/cjdinger/SasMacroViewer" target="_self"&gt;published example on GitHub&lt;/A&gt;. &amp;nbsp;(Look at the &lt;A href="https://github.com/cjdinger/SasMacroViewer/blob/master/src/Macro/MacroViewerDlg.cs" target="_self"&gt;SolveExpression() routine in this file.&lt;/A&gt;)&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 15:23:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-Addin-Custom-Task/m-p/331188#M21982</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2017-02-09T15:23:59Z</dc:date>
    </item>
  </channel>
</rss>

