<?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: Prevent Users from Renaming Datasets in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Prevent-Users-from-Renaming-Datasets/m-p/766335#M22985</link>
    <description>&lt;P&gt;You&amp;nbsp;&lt;EM&gt;could&lt;/EM&gt; control it exclusively in metadata if you used SAS Token Authentication and a pooled workspace server, which would mean that for the OS only the sassrv user would read and write datasets, and you could set all libraries to drwx------ with owner sassrv. But that is not what you usually do, as you lose control over what an individual user does (disk storage, CPU consumption, etc).&lt;/P&gt;</description>
    <pubDate>Tue, 07 Sep 2021 09:19:44 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2021-09-07T09:19:44Z</dc:date>
    <item>
      <title>Prevent Users from Renaming Datasets</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Prevent-Users-from-Renaming-Datasets/m-p/766177#M22972</link>
      <description>&lt;P&gt;We have a team of EG users with some users have read only and some have write access for a certain library. I noticed that users can rename a dataset even if they have only read access to a library. Below are the settings:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Folder permission:&lt;/P&gt;&lt;P&gt;drwxrwx--- 2 sas_admin sas 7 Sep 6 16:12 testlib1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dataset permission:&lt;/P&gt;&lt;P&gt;-rw-rw---- 1 sas_admin&amp;nbsp;sas 196608 Sep 6 15:32 cars.sas7bdat&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We registered the table in SMC and set the permission of user for both library and registered table:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Dph_0-1630916733862.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63322i0FDDA4DD8F397FA5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Dph_0-1630916733862.png" alt="Dph_0-1630916733862.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They cannot delete or update the dataset but they can still rename it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any thoughts how can we prevent this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 08:38:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Prevent-Users-from-Renaming-Datasets/m-p/766177#M22972</guid>
      <dc:creator>Dph</dc:creator>
      <dc:date>2021-09-06T08:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent Users from Renaming Datasets</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Prevent-Users-from-Renaming-Datasets/m-p/766183#M22973</link>
      <description>&lt;P&gt;Data authorization can be a bit complicated.&lt;/P&gt;
&lt;P&gt;If you don't enforce the use of META engine, permission set in SMC has "no" effect - only Linus/UNIX folder permissions are in effect.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 09:27:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Prevent-Users-from-Renaming-Datasets/m-p/766183#M22973</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2021-09-06T09:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent Users from Renaming Datasets</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Prevent-Users-from-Renaming-Datasets/m-p/766184#M22974</link>
      <description>Hi,&lt;BR /&gt;Yeah, sorry I did not mention but the libraries are assigned using meta engine:&lt;BR /&gt;&lt;BR /&gt;LIBNAME TESTLIB1 META LIBRARY='TESTLIB1' METAOUT=DATA;</description>
      <pubDate>Mon, 06 Sep 2021 09:34:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Prevent-Users-from-Renaming-Datasets/m-p/766184#M22974</guid>
      <dc:creator>Dph</dc:creator>
      <dc:date>2021-09-06T09:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent Users from Renaming Datasets</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Prevent-Users-from-Renaming-Datasets/m-p/766185#M22975</link>
      <description>&lt;P&gt;Yes and no. "&lt;SPAN&gt;METAOUT=DATA&lt;/SPAN&gt;" will also show tables not registered in SAS Metadata.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only way to really secure your data is on OS level as users will always have the option to issue a different libname via code and then only OS level permissions apply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you really want to ensure that data access is only possible via the libnames defined in SAS Metadata then you need a metadata bound library.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 09:39:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Prevent-Users-from-Renaming-Datasets/m-p/766185#M22975</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2021-09-06T09:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent Users from Renaming Datasets</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Prevent-Users-from-Renaming-Datasets/m-p/766192#M22976</link>
      <description>Yes I know the metaout=data will show all the tables but the dataset in question is a registered one.. I also understand the risk you mentioned.&lt;BR /&gt;&lt;BR /&gt;I have to read about it since I am not familiar with metadata bound libraries, but may I know if we implement this will it prevent the 'read only' users from renaming of the datasets?</description>
      <pubDate>Mon, 06 Sep 2021 10:11:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Prevent-Users-from-Renaming-Datasets/m-p/766192#M22976</guid>
      <dc:creator>Dph</dc:creator>
      <dc:date>2021-09-06T10:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent Users from Renaming Datasets</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Prevent-Users-from-Renaming-Datasets/m-p/766257#M22977</link>
      <description>&lt;P&gt;As long as users have write permission for the&amp;nbsp;&lt;EM&gt;directory&lt;/EM&gt; on the operating system level, you will not be safe.&lt;/P&gt;
&lt;P&gt;Remove the group write permission, and give only privileged users write permission via access control lists. This is what I have done for decades.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 19:47:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Prevent-Users-from-Renaming-Datasets/m-p/766257#M22977</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-09-06T19:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent Users from Renaming Datasets</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Prevent-Users-from-Renaming-Datasets/m-p/766300#M22982</link>
      <description>&lt;P&gt;I see, so it really cannot be controlled in metadata level. I haven't done any ACLs before but I just tested sample files/folders and it seems to work as expected. It will be a bit tedious because we have around 50 libraries and 30 users in that team, although only 20% of them have write access in each of the library.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, everyone.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 03:11:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Prevent-Users-from-Renaming-Datasets/m-p/766300#M22982</guid>
      <dc:creator>Dph</dc:creator>
      <dc:date>2021-09-07T03:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent Users from Renaming Datasets</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Prevent-Users-from-Renaming-Datasets/m-p/766328#M22984</link>
      <description>&lt;P&gt;With "not be safe" I meant that there might always be a way for users to copy and remove (resulting in a rename) &lt;EM&gt;files&lt;/EM&gt; with the FCOPY and FDELETE functions.&lt;/P&gt;
&lt;P&gt;The FCOPY and FDELETE functions do not care about library metadata when you use them with .sas7bdat files (a dataset is then just a file like any other file).&lt;/P&gt;
&lt;P&gt;Even easier is the use of the &lt;FONT face="courier new,courier"&gt;mv&lt;/FONT&gt; system command if you have XCMD enabled or the users have access to the commandline with SSH.&lt;/P&gt;
&lt;P&gt;The only thing that can prevent these actions is the operating system.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 07:29:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Prevent-Users-from-Renaming-Datasets/m-p/766328#M22984</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-09-07T07:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent Users from Renaming Datasets</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Prevent-Users-from-Renaming-Datasets/m-p/766335#M22985</link>
      <description>&lt;P&gt;You&amp;nbsp;&lt;EM&gt;could&lt;/EM&gt; control it exclusively in metadata if you used SAS Token Authentication and a pooled workspace server, which would mean that for the OS only the sassrv user would read and write datasets, and you could set all libraries to drwx------ with owner sassrv. But that is not what you usually do, as you lose control over what an individual user does (disk storage, CPU consumption, etc).&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 09:19:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Prevent-Users-from-Renaming-Datasets/m-p/766335#M22985</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-09-07T09:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Prevent Users from Renaming Datasets</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Prevent-Users-from-Renaming-Datasets/m-p/766520#M23001</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Pooled workspace server setup will not be feasible, primarily because of the regular audit / security review.. Most likely will have to do combination of dataset registration + ACLs. Though I have to test further.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for your inputs&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 06:35:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Prevent-Users-from-Renaming-Datasets/m-p/766520#M23001</guid>
      <dc:creator>Dph</dc:creator>
      <dc:date>2021-09-08T06:35:28Z</dc:date>
    </item>
  </channel>
</rss>

