BookmarkSubscribeRSS Feed
arunrami
Pyrite | Level 9

Hello SASians,

 

I know that using PWENCODE , we can encode the password and put it in some file in secured folder(so that other cant see the original/encoded password) but still there is a way that we can use encoded password directly in the code instead of original password..!!

 

I feel it's not safe enough- My goal is I need to encrypt the password and use it in code, and its should work only when we are importing the password from stored secured destination. but should not work if I give the encoded/encrypted password directly.

 

Please let me know if there is any smart way to achieve it!

 

Thanks!

 

**<Arun Ramji S>**

1 REPLY 1
andreas_lds
Jade | Level 19

See https://blogs.sas.com/content/sasdummy/2010/11/23/five-strategies-to-eliminate-passwords-from-your-s...

 

Using AuthDomain moves the password to the metadata, which seems to be more secure than having the encoded version in code.

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
  • 1 reply
  • 683 views
  • 1 like
  • 2 in conversation