Security for .sas files used by SAS Stored Processes

0

(SAS 9.2 Implementations) When saving SAS Stored Processes, the 'sassrv' internal user account is used to write the physical .sas files on the server. Security of these files (to reduce the users from overwritting other's .sas stored processes) can be accomplished via the Resource Management plug-in for SAS Management Console. Of course, after setting multiple file folder locations for .sas files to be saved, there will be multiple listings of 'Source Code Repository' within Resource Management.
Go into the 'Manage Source Directory Screen' and add a description for each of these. (Note ~ To get to the 'Manage Source Directory Screen', I always create a dummy STP in SMC, move to 2nd screen, select 'SAS Stored Process' server and then click the 'Manage' button. After creating/editing the directory locations, I just cancel out of the STP screens.)
Now you can complete the authorization steps by completing the following:

  1. Resource Management -> By Location -> SASApp
  2. Under SASApp, right click the "Source Code Repository"
  3. Move to the 'Authorization' tab and Set the permissions.

Different groups can be given 'CreateMetadata', 'WriteMetadata', and 'CheckInMetadata' access to their respective 'Source Code Repository' location. While you are there, remove this access for the 'SASUSERS' group or all SAS authenticated users will be able to edit this location anyhow.

Share

About Author

Angela Hall

Senior Technical Architect

Angela offers tips on using the SAS Business Intelligence solutions. She manages a team of SAS Fraud Framework implementers within the SAS Solutions On-Demand organization. Angela also has co-written two books, 'Building BI using SAS, Content Development Examples' & 'The 50 Keys to Learning SAS Stored Processes'.

Comments are closed.

Back to Top