BookmarkSubscribeRSS Feed
srisai
Calcite | Level 5
Hi,

Could you please let me know what is the best way to hide user id and password in our code and log though we have macros mlogic,merror,symbolgen are written in our code?

Please advice.

Regards,
Sri
3 REPLIES 3
RSB
Calcite | Level 5 RSB
Calcite | Level 5
Hi Sri,

You may use proc pwencode to encrypt the passwords in your code.

This paper gives information on its usage.
http://www.lexjansen.com/pnwsug/2007/Dave%20Steven%20-%20Keep%20your%20database%20passwords%20out%20...

SAS Documenation :
http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a002595988.htm
srisai
Calcite | Level 5
Hi,

Very informative and here my another doubt is if multiple users wanted to
run the my code with their id and passcode then how to proceed on this?

Thanks,
Sri
ChrisHemedinger
Community Manager
Here's a topic that might help:

http://blogs.sas.com/sasdummy/index.php?/archives/222-Five-strategies-to-eliminate-passwords-from-yo...

Chris
SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!
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
  • 3 replies
  • 1679 views
  • 0 likes
  • 3 in conversation