<?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 How do I Hide select tables in a sas database library in SAS EG 8.x ? in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/How-do-I-Hide-select-tables-in-a-sas-database-library-in-SAS-EG/m-p/878696#M26743</link>
    <description>&lt;P&gt;SAS 9.4 TS1M7, WIN x64 server&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Issue:&lt;/U&gt; How do I stop some tables to appear in EG (8.x) for a pre-assigned MS SQLSRVR Database library?&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Details:&amp;nbsp;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;1. A &lt;STRONG&gt;service ID&lt;/STRONG&gt; is used to access a SQL DB, a sas sqlsrvr SAS library is created with a group (db-access).&amp;nbsp; Only db-access group member access/view the said library.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Library is&lt;STRONG&gt; pre-assigned&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;3. Library has a mix of tables and views&lt;/P&gt;
&lt;P&gt;4. Currently only few views are '&lt;STRONG&gt;registered&lt;/STRONG&gt;' in metadata (out of 200 views and tables by design)&lt;/P&gt;
&lt;P&gt;5. All views and tables &lt;STRONG&gt;appear&lt;/STRONG&gt; in SAS EG session for all members of db-access group, we want only views to appear in the EG session.&lt;/P&gt;
&lt;P&gt;6. The db-access group has explicit RM and appropriate grants and 'deny' for all other in metadata &amp;gt; '&lt;STRONG&gt;Authorization'&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea how to set this up?&amp;nbsp; My own thought is that since the access is via a &lt;STRONG&gt;service ID&lt;/STRONG&gt;, we could ask DBA to remove READ GRANTS for the &lt;STRONG&gt;tables&lt;/STRONG&gt; for the service ID.&amp;nbsp; I wanted to get your opinion to see any simpler method exists.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance (TIA)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-S&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jun 2023 15:43:46 GMT</pubDate>
    <dc:creator>shoin</dc:creator>
    <dc:date>2023-06-01T15:43:46Z</dc:date>
    <item>
      <title>How do I Hide select tables in a sas database library in SAS EG 8.x ?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-do-I-Hide-select-tables-in-a-sas-database-library-in-SAS-EG/m-p/878696#M26743</link>
      <description>&lt;P&gt;SAS 9.4 TS1M7, WIN x64 server&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Issue:&lt;/U&gt; How do I stop some tables to appear in EG (8.x) for a pre-assigned MS SQLSRVR Database library?&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Details:&amp;nbsp;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;1. A &lt;STRONG&gt;service ID&lt;/STRONG&gt; is used to access a SQL DB, a sas sqlsrvr SAS library is created with a group (db-access).&amp;nbsp; Only db-access group member access/view the said library.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Library is&lt;STRONG&gt; pre-assigned&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;3. Library has a mix of tables and views&lt;/P&gt;
&lt;P&gt;4. Currently only few views are '&lt;STRONG&gt;registered&lt;/STRONG&gt;' in metadata (out of 200 views and tables by design)&lt;/P&gt;
&lt;P&gt;5. All views and tables &lt;STRONG&gt;appear&lt;/STRONG&gt; in SAS EG session for all members of db-access group, we want only views to appear in the EG session.&lt;/P&gt;
&lt;P&gt;6. The db-access group has explicit RM and appropriate grants and 'deny' for all other in metadata &amp;gt; '&lt;STRONG&gt;Authorization'&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea how to set this up?&amp;nbsp; My own thought is that since the access is via a &lt;STRONG&gt;service ID&lt;/STRONG&gt;, we could ask DBA to remove READ GRANTS for the &lt;STRONG&gt;tables&lt;/STRONG&gt; for the service ID.&amp;nbsp; I wanted to get your opinion to see any simpler method exists.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance (TIA)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-S&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 15:43:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-do-I-Hide-select-tables-in-a-sas-database-library-in-SAS-EG/m-p/878696#M26743</guid>
      <dc:creator>shoin</dc:creator>
      <dc:date>2023-06-01T15:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Hide select tables in a sas database library in SAS EG 8.x ?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-do-I-Hide-select-tables-in-a-sas-database-library-in-SAS-EG/m-p/878844#M26746</link>
      <description>&lt;P&gt;Controlling access via user account permissions is easiest and bombproof. You can control access via metadata permissions but that can be bypassed unless you lockdown all SAS libraries so I wouldn't recommend it.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 21:45:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-do-I-Hide-select-tables-in-a-sas-database-library-in-SAS-EG/m-p/878844#M26746</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-06-01T21:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Hide select tables in a sas database library in SAS EG 8.x ?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-do-I-Hide-select-tables-in-a-sas-database-library-in-SAS-EG/m-p/878894#M26747</link>
      <description>&lt;P&gt;For the views to work, the underlying tables must also be accessible to the SAS session, so you cannot "hide" them.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 05:18:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-do-I-Hide-select-tables-in-a-sas-database-library-in-SAS-EG/m-p/878894#M26747</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-06-02T05:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Hide select tables in a sas database library in SAS EG 8.x ?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-do-I-Hide-select-tables-in-a-sas-database-library-in-SAS-EG/m-p/879953#M26769</link>
      <description>&lt;P&gt;These are Synapse views.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 19:20:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-do-I-Hide-select-tables-in-a-sas-database-library-in-SAS-EG/m-p/879953#M26769</guid>
      <dc:creator>shoin</dc:creator>
      <dc:date>2023-06-09T19:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do I Hide select tables in a sas database library in SAS EG 8.x ?</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-do-I-Hide-select-tables-in-a-sas-database-library-in-SAS-EG/m-p/879954#M26770</link>
      <description>&lt;P&gt;SQL views are executed when used, in the context of the calling process. So this process needs to have access to the tables used in the view.&lt;/P&gt;
&lt;P&gt;If you need to restrict access to certain parts of data, create separate tables, not views&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 19:28:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-do-I-Hide-select-tables-in-a-sas-database-library-in-SAS-EG/m-p/879954#M26770</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-06-09T19:28:56Z</dc:date>
    </item>
  </channel>
</rss>

