BookmarkSubscribeRSS Feed
shivrajpawar98
Obsidian | Level 7

Hi All,

 

Can anyone guide me on how to set up Base SAS Library authorization for individual users on SAS Viya 4? I’d really appreciate your help with this.

Regards,
Shivraj Pawar

6 REPLIES 6
LinusH
Tourmaline | Level 20

Base libraries uses file system authorizations, so speak to your platform/security team for guidance.

Data never sleeps
shivrajpawar98
Obsidian | Level 7

Sorry i was not clear, i need this authorization on sas viya 4

LinusH
Tourmaline | Level 20

As I understand it, you can set authorizations to libraries inside SAS Viya.

But, this probably won't stop user from accessing the library path directly.

"The data source definitions do not reside in folders and are created with READ permissions for all authenticated users. Operating system permissions to the library physical paths are respected by the Compute server when the libref is assigned. This means that if a user cannot read the file-system directory they will not see the library in their SAS session."

https://communities.sas.com/t5/SAS-Communities-Library/Managing-Connections-to-Data-Sources-and-SAS-...

Data never sleeps
gwootton
SAS Super FREQ
In the SAS Viya Platform, Base SAS libraries are made available to compute and CAS by way of volume mounts. For example your data might be on an NFS volume nfs.example.com:/sas-data which is mounted to /sas-data inside the CAS and compute pods.

For CAS libraries, permissions can be set on the CASLIB, but if you are mounting directly onto the compute pods, access would be governed based on file system permissions, which are based on the execution user's POSIX attributes (uid, gid, secondary gids).

The POSIX attributes are either provided to Viya (from LDAP or through bulk-loading), or Viya can generate them.

So to limit access to certain data files you would need to set permissions on those paths in the volume you are mounting, based on the user and group identifiers in Viya.
--
Greg Wootton | Principal Systems Technical Support Engineer
gwootton
SAS Super FREQ
@Kurt_Bremser Not for base SAS tables directly as far as I'm aware, though you can still password protect and encrypt them programmatically. CAS tables can be encrypted with a key stored in an encryption domain, and protected with permissions.
--
Greg Wootton | Principal Systems Technical Support Engineer