<?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: Does a Program with hard coded User &amp;amp; Password require Server Manager configuration? in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Does-a-Program-with-hard-coded-User-amp-Password-require-Server/m-p/781272#M23416</link>
    <description>&lt;P&gt;A one word answer to your question &lt;STRONG&gt;"Does a Program with hard coded User &amp;amp; Password require Server Manager configuration?&lt;/STRONG&gt; " would be &lt;STRONG&gt;NO&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;This may not be the best practice but is of common occurence. It ultimately depends on the organizations work culture and needs.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Nov 2021 14:59:21 GMT</pubDate>
    <dc:creator>Sajid01</dc:creator>
    <dc:date>2021-11-19T14:59:21Z</dc:date>
    <item>
      <title>Does a Program with hard coded User &amp; Password require Server Manager configuration?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Does-a-Program-with-hard-coded-User-amp-Password-require-Server/m-p/764218#M22910</link>
      <description>&lt;P&gt;For better or worse, our programmer is hard-coding the DSN, User, and Password in their programs.&amp;nbsp; Assuming the DSN on the Windows Server is set up properly (i.e.-correct credentials, connection string, and default database), does hard-coding the DSN, User and Password bypass Server Manager?&amp;nbsp; In other words, does this go through Server Manager at all, or does it connect the program directly to the DB via the Windows Server DSN configuration?&lt;/P&gt;&lt;P&gt;Ultimately, I plan to ensure we're keeping with best practice, and I've never seen hard-coded User and Password directly in a program considered best practice.&amp;nbsp; I assume we should be verifying user credentials via the User Manager, and then connecting to the DB via the Server Manager.&lt;/P&gt;&lt;P&gt;Any guidance/input is greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 14:32:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Does-a-Program-with-hard-coded-User-amp-Password-require-Server/m-p/764218#M22910</guid>
      <dc:creator>jcromwell77</dc:creator>
      <dc:date>2021-08-26T14:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Does a Program with hard coded User &amp; Password require Server Manager configuration?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Does-a-Program-with-hard-coded-User-amp-Password-require-Server/m-p/764504#M22925</link>
      <description>The definitions in Metadata would be used if you specify the META libname engine. If you are specifying the server connection information directly those are not used.</description>
      <pubDate>Fri, 27 Aug 2021 17:01:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Does-a-Program-with-hard-coded-User-amp-Password-require-Server/m-p/764504#M22925</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2021-08-27T17:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Does a Program with hard coded User &amp; Password require Server Manager configuration?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Does-a-Program-with-hard-coded-User-amp-Password-require-Server/m-p/764519#M22928</link>
      <description>&lt;P&gt;To make sure I'm clear, I would need to use something like:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname sample meta ....&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;versus what we're currently using&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname sample odbc datasrc:...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Is that correct?&lt;/P&gt;&lt;P&gt;Also, I may be confusing things a bit.&amp;nbsp; I have been reading about Authentication Domain for storing and passing credentials, which is what I believe I need to know as well.&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 17:32:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Does-a-Program-with-hard-coded-User-amp-Password-require-Server/m-p/764519#M22928</guid>
      <dc:creator>jcromwell77</dc:creator>
      <dc:date>2021-08-27T17:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Does a Program with hard coded User &amp; Password require Server Manager configuration?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Does-a-Program-with-hard-coded-User-amp-Password-require-Server/m-p/764520#M22929</link>
      <description>Correct. When using the meta engine it will use the server definition in Metadata which includes connection properties that include an authentication domain so you would not need to specify in the libname statement an auth domain where you have stored the credentials in Metadata. When uisng the odbc libname engine you can optionally specify authdomain= to use the credentials from that domain instead of user/password hardcoded, but this would not use the server definition in Metadata so that would still need to be specified.&lt;BR /&gt;&lt;BR /&gt;LIBNAME Statement for the ODBC Engine&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/acreldb/p0bu3zsz1a08ton1msxdx1jo45np.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/acreldb/p0bu3zsz1a08ton1msxdx1jo45np.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;LIBNAME Statement for the Metadata Engine&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrmeta/n16hsug0xiczidn141ezc7rlz8rb.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrmeta/n16hsug0xiczidn141ezc7rlz8rb.htm&lt;/A&gt;</description>
      <pubDate>Fri, 27 Aug 2021 17:41:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Does-a-Program-with-hard-coded-User-amp-Password-require-Server/m-p/764520#M22929</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2021-08-27T17:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Does a Program with hard coded User &amp; Password require Server Manager configuration?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Does-a-Program-with-hard-coded-User-amp-Password-require-Server/m-p/764597#M22946</link>
      <description>&lt;P&gt;Since you appear to be using Windows SAS servers then you could consider using Integrated Windows Authentication (IWA) if this is supported by the databases you connect to. You can also use DSN-less database connection strings where everything is defined in the string and doesn't require DSNs to be stored elsewhere like in the Windows ODBC Adminstrator.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We use both of these methods ourselves and it is secure (no userids and passwords required) and efficient from a maintenance point of view.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an example of a LIBNAME statement using a DSN-less database connection to SQL Server using IWA:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname SQLSRVR odbc noprompt = "server=SQLServerName;DRIVER=SQL Server Native Client 11.0;Trusted Connection=yes" DATABASE = MyDatabase schema = dbo;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 28 Aug 2021 03:09:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Does-a-Program-with-hard-coded-User-amp-Password-require-Server/m-p/764597#M22946</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-08-28T03:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Does a Program with hard coded User &amp; Password require Server Manager configuration?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Does-a-Program-with-hard-coded-User-amp-Password-require-Server/m-p/777759#M23352</link>
      <description>&lt;P&gt;You are correct, and I have not seen the first code snippet using "meta" before. If I'm understanding that correctly, does the first libname statement use the server manager connection in the management console to connect?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 19:32:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Does-a-Program-with-hard-coded-User-amp-Password-require-Server/m-p/777759#M23352</guid>
      <dc:creator>jcromwell77</dc:creator>
      <dc:date>2021-11-01T19:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Does a Program with hard coded User &amp; Password require Server Manager configuration?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Does-a-Program-with-hard-coded-User-amp-Password-require-Server/m-p/777767#M23353</link>
      <description>That's correct.</description>
      <pubDate>Mon, 01 Nov 2021 19:58:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Does-a-Program-with-hard-coded-User-amp-Password-require-Server/m-p/777767#M23353</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2021-11-01T19:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Does a Program with hard coded User &amp; Password require Server Manager configuration?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Does-a-Program-with-hard-coded-User-amp-Password-require-Server/m-p/781272#M23416</link>
      <description>&lt;P&gt;A one word answer to your question &lt;STRONG&gt;"Does a Program with hard coded User &amp;amp; Password require Server Manager configuration?&lt;/STRONG&gt; " would be &lt;STRONG&gt;NO&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;This may not be the best practice but is of common occurence. It ultimately depends on the organizations work culture and needs.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 14:59:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Does-a-Program-with-hard-coded-User-amp-Password-require-Server/m-p/781272#M23416</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2021-11-19T14:59:21Z</dc:date>
    </item>
  </channel>
</rss>

