"@SPDSSPEC" = "TRUE")
by sasspds;
/* Create a view to worktable that allows users */
/* to access only rows where the column "usergrp" */
/* matches their group. The userID BOSS can access */
/* any group records where the column "userid" is */
/* "BOSS" */
execute(create view workview as
select *
from worktable
where usergrp = "@SPDSGRP" and
("@SPDSUSR" = "BOSS" or userid != "BOSS"))
by sasspds;
disconnect from sasspds;
quit;
ACL Security Examples
Overview of Security Examples
If LIBACLINHERIT=YES is added to a LIBNAME definition, the ACL precedence of
permission checks changes. In this case, the LIBNAME ACL is used to first give READ
or WRITE access to the domain, and then to inherit ACLs for resources that are owned by
the domain owner. When a user accesses resources in an owned domain by using
LIBACLINHERIT=YES, the following precedence of permissions checks on the ACL
resource:
•
If user-specific permissions are defined on the object for the accessor, the accessor gets
these permissions.
•
If group-specific permissions are defined on the object for the accessor's group, the
accessor gets these permissions.
•
If LIBNAME ACL permissions are defined for the accessor, the accessor gets these
permissions on the object.
•
If LIBNAME ACL permissions are defined for the accessor's group, the accessor gets
these permissions on the object.
•
Otherwise, the accessor gets UNIVERSAL ACLs on the resource.
The following are examples using LIBACLINHERIT:
Below is a listing of the libnames.parm files that are used in the code examples, along with
a listing of users and groups in the password database.
libnames.parm:
----------------------------------
LIBNAME=d1
pathname=/IDX1/spdsmgr/d1
owner=admin ;
LIBNAME=d2
pathname=/IDX1/spdsmgr/d2
owner=prod1 ;
LIBNAME=colsec
ACL Security Examples
167
Summary of Contents for Scalable Performance Data Server 4.5
Page 1: ...SAS Scalable Performance Data Server 4 5 Administrator s Guide...
Page 7: ...Part 1 Product Notes Chapter 1 SPD Server 4 5 Product Notes 3 1...
Page 8: ...2...
Page 12: ...6...
Page 63: ...Part 3 Migration Chapter 5 SPD Server 3 x to SPD Server 4 5 Conversion Utility 59 57...
Page 64: ...58...
Page 70: ...64 Chapter 5 SPD Server 3 x to SPD Server 4 5 Conversion Utility...
Page 72: ...66...
Page 76: ...70 Chapter 6 Using the SPD Server Name Server to Manage Resources...
Page 94: ...88 Chapter 7 Administering and Configuring SPD Server Using the SAS Management Console...
Page 98: ...92 Chapter 8 SPD Server SQL Query Rewrite Facility...
Page 116: ...110 Chapter 10 Configuring Disk Storage for SPD Server...
Page 128: ...122 Chapter 11 Setting Up SPD Server Parameter Files...
Page 154: ...148...
Page 198: ...192 Chapter 14 ACL Security Overview...
Page 212: ...206 Chapter 15 Managing SPD Server Passwords Users and Table ACLs...
Page 214: ...208...
Page 224: ...218 Chapter 16 SPD Server Operator Interface Procedure PROC SPDO...
Page 236: ...230 Chapter 18 SPD Server Table List Utility Spdsls...
Page 256: ...250 Chapter 19 SPD Server Backup and Restore Utilities...
Page 264: ...258 Chapter 20 SPD Server Directory Cleanup Utility...
Page 270: ......