BookmarkSubscribeRSS Feed
Resa
Pyrite | Level 9
Hi everybody,

We are using SAS EG v3 (3.0.2.446) and I would like to ask whether any of you could help me out.

Users are given access to data through SAS views which are in library A and are based on data in library B. What I would like to do is give users access to both libraries but WITHOUT the users having access to the actual tables in library B. However, when I assign library B the users can see the tables but if I don't assign the library the views do not work.

A work around that we have come up with is putting a password on the tables in library B. This will make that the users can see the tables, but can not access them.
But we believe that a possibility of assigning the library without displaying the content is a more elegant solution.

Can anyone help?
Kind regards,
Resa Drijsen
2 REPLIES 2
Olivier
Pyrite | Level 9
You can define your library with a

-SET myLibNam "path"

in the config file of your SAS server, instead of a LIBNAME statement in an AUTOEXEC or a definition with the Enterprise Guide Administrator / Management Console. The library should actually exist, but remain invisible to users.
However, they will be able to use its contents through programs, so maybe you should keep passwords on the datasets too.
Dirk_Horsten
Fluorite | Level 6

Smart users will still be able to find out about Library A by submitting

proc sql;

describe view B.AnyViewToA;

quit;

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 1855 views
  • 0 likes
  • 3 in conversation