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;

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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