BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Sharathr
Obsidian | Level 7
Hi forum,
Is there a way to password protect SAS codes using sas?
If so please provide code.
Thanks.
1 ACCEPTED SOLUTION

Accepted Solutions
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Yep, that paper describes exactly why most of our code from pre 64bit no no longer works, nor will ever work as we can't see any of it.

View solution in original post

5 REPLIES 5
Kurt_Bremser
Super User

Since SAS is at it's core an interpreter, the codes are basically open source. You can "hide" code by putting it in macros in catalogs that have a

options nosource;

included so that the code will not be displayed in the log. Have much fun maintaining such crap.

Ksharp
Super User
You could make a Stored Compiled DATA Step Program .
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Why?  Hiding your code is just really bad practice.  Trust me, we have just lost a whole shedload of historical coding which was hidden in compiled catalogs due to the 64bit move.  The age of hidden, compiled code is hopefully over and good riddance.  

Reeza
Super User

@Sharathr wrote:
Hi forum,
Is there a way to password protect SAS codes using sas?
If so please provide code.
Thanks.

https://amadeus.co.uk/sas-tips/how-to-keep-secret-code-secret/

 

 

RW9
Diamond | Level 26 RW9
Diamond | Level 26

Yep, that paper describes exactly why most of our code from pre 64bit no no longer works, nor will ever work as we can't see any of it.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 5 replies
  • 1707 views
  • 7 likes
  • 5 in conversation