BookmarkSubscribeRSS Feed
aneeshv
Fluorite | Level 6

 

Is there any method available in SAS to generate password protected zip files.?

2 REPLIES 2
Reeza
Super User

Not that I'm aware of, but I'm happy to be proven wrong 🙂

http://support.sas.com/documentation/cdl/en/lestmtsref/69738/HTML/default/viewer.htm#n1dn0f61yfyzton...

 

If you have access to X command you can interact with your system and use the 7-Zip or WinZip via a command line.

 

Here's an example for Windows and you could modify the string to add a password. 

https://gist.github.com/statgeek/9602105

RW9
Diamond | Level 26 RW9
Diamond | Level 26

Not without some method of accessing the compression software (e.g. command line).  The real question is however, why?  From a security standpoint ZIP file password protection may be ok, however most people email the password sometime after the file nullifying any security potential.  In any case where you are transmitting important private information you should be using a proper system, secure ftp server, file transfer portal and such like.  Dumping something into a Zip file with a password and then emailing that is really not very good practice.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 2 replies
  • 932 views
  • 2 likes
  • 3 in conversation