BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Has anyone solved this puzzle?

I'd like to be able to create an SP to be run from the Portal that can report on secure data, and use Stored Process Server to get efficient execution (don't want each query to start its own workspace) but prevent Enterprise Guide users from running their own code on the same Stored Process Server and circumventing data security by running under the server identity.

If I secure the Logical Stored Process server in metadata I can prevent EG users from connecting to it ... but then if one of those users logs on to the Portal they can't run the canned Stored Process because the server is not available to them. If it's available to the Portal I can't see any way to stop the EG user running an SP there.

Is there some way to set up an SP server that the Portal can use, but which EG users can't see?

This is under 9.1.3 by the way, so a 9.2 method won't help (at least not for a while)

I wait in hope,

Steve
3 REPLIES 3
milts
Pyrite | Level 9
Hi Steve,

Are your EG users also your Portal users? If not, how about creating two groups in SMC? One for your Portal users and the other for your EG users? Then deny read of your SP to the EG group.

Milton
deleted_user
Not applicable
Hi Milton,

Good idea, but the there is overlap between Portal users and EG users, so I can't segregate them that way.

I was wondering about setting up an SP server running under a different identity (rather than sassrv, something with a bit lower privilege that can't see the data by default) and then use a compiled macro to access the required hidden path, but only if the 'right' _PROGRAM value is present. Seems a bit convoluted, so I was hoping someone had found a better method before I try setting all that up.

Regards,
Steve
Cynthia_sas
Diamond | Level 26
Hi:
I'm not clear on whether it is even POSSIBLE to set up a Stored Process Server that would use an identity other than sassrv. To me, that would be a question for SAS Technical Support. This documentation suggests that it is possible to hide server definitions from certain users:
http://support.sas.com/documentation/cdl/en/bisecag/61133/HTML/default/a003280630.htm

It does not outline a way to bypass the use of sassrv or SAS General Servers group.

cynthia

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

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 3 replies
  • 1393 views
  • 0 likes
  • 3 in conversation