See Fencing in your SAS users with LOCKDOWN - The SAS Dummy
You should be able to selectively enable email using the LOCKDOWN ENABLE_AMS=EMAIL statement via yoru workspace server autoexec.
Carl Sommer - SAS Technical Support
Can you share your autoexec? I would suggest some amount of conditional code to decide for whom to provide the enablement for.
Carl Sommer - SAS Technical Support
That's a good distinction. While you could conditionally execute the lockdown statement in the autoexec by user, for those allowed to use email, you won't be able to enforce what user the set as the sender.
Carl Sommer - SAS Technical Support
Any restriction on the SAS side will be easy to bypass.
Consider restricting at the SMTP server level. The mail server admin at your place could help.
What others said. This needs to be managed on the SMTP server.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.